Consultont — Business Consulting Marketplace
Five legacy apps rebuilt as one marketplace platform for business services.
- legacy apps into one platform
- 5 → 1
- portals
- customer · expert · partner · admin
- database
- SQL Server → PostgreSQL
- api
- NestJS · Redis · BullMQ
Client project: a ground-up rebuild of Consultont, a marketplace where businesses buy tax, compliance, registration, and legal services by country. Five separate legacy Node.js applications sharing one SQL Server database were replaced by a single NestJS API, two Next.js apps, and a redesigned PostgreSQL schema, with portals for customers, experts, referral partners, and admins.
Designed and engineered by Aman Kumar Singh for a client: architecture, database redesign, the API, both Next.js apps, and the test suite.
Highlights
- Consolidated five legacy Node.js apps (two websites, an AdonisJS API, admin and expert panels) into one NestJS API and two Next.js apps in a Turborepo monorepo.
- Redesigned the data model on PostgreSQL with Drizzle ORM — consistent naming, real foreign keys and indexes — replacing raw string-built SQL on SQL Server.
- Built the buying journey: per-country catalogue, cart, promo codes, installments, Razorpay checkout, document upload, and live order tracking.
- Role-gated portals for customers, experts, referral partners, and admins, with JWT access and rotating refresh cookies, RBAC, and an audit log.
- Redis caching and BullMQ workers for email, SMS, payments, and documents; server-rendered, SEO-ready catalogue pages with cache-tag revalidation.
- Behaviour-driven test suite: Vitest and Testcontainers for the API, Playwright journeys for every role.
Technology
- Next.js
- React.js
- NestJS
- TypeScript
- PostgreSQL
- Drizzle ORM
- Redis
- BullMQ
- Docker
- AWS
Need custom software for your business? Aman Kumar Singh builds reliable, scalable web applications.
Start a conversation