Skip to content
All expertise

Expertise · Hassan Ali / Cognetheus

Node.js and NestJS backend development in TypeScript

Hassan Ali builds TypeScript backends on Node.js and NestJS for teams hiring backend or full-stack engineers, including a NestJS, TypeORM and MySQL backend for a clinic platform launched across 10 live centers and Node.js microservices in an Nx monorepo on GCP.

Node.jsNestJSTypeScriptExpressTypeORMMySQLNx MonorepoMicroservicesDomain-Driven DesignEvent-Driven ArchitectureGraphQLMongoDBPostgreSQLSequelizeSQLiteRedisJestVitestSwaggerOpenAPI

I write Node.js backends in TypeScript and start from the domain model rather than the route list. On a NestJS service that means domain-driven design, TypeORM entities for the schema, and events for side effects such as notifications and activity tracking. I have documented APIs with Swagger and OpenAPI, and tested with Jest and Vitest. The work suits product teams hiring a backend or full-stack engineer for a TypeScript codebase, especially one with a relational, multi-tenant domain, a monorepo of services, or an older Express app that has to keep running while its replacement is built.

The clearest example is the Patients Management platform at Coderzhunt, a 0→1 build that launched with ~5,000 active patient records across 10 live centers. I architected its backend in NestJS, TypeScript, MySQL and TypeORM, using domain-driven design (DDD) and event-driven design (EDD) to support multi-clinic tenancy, and shipped event-driven notifications and activity tracking. I also optimized the schema design and query performance for low-latency operations across clinics, patient histories and shared case activity.

On Portless, an enterprise logistics platform, I worked on two production systems at once. The greenfield side was an Nx monorepo of Node.js microservices in TypeScript on GCP, working with Firestore, Cloud Functions v2, Pub/Sub, task queues and Typesense, plus a React Admin app with a custom data provider; it scaled to ingest tens of thousands of orders every 5 minutes. The legacy side was an Express, MongoDB and Handlebars application on Heroku that ran in production in parallel.

Before Coderzhunt, at Sysvoy International I built client-facing Node.js, React, Next.js, TypeScript and GraphQL applications, with a Node.js and MongoDB backend that stored form configurations, metadata and Salesforce Marketing Cloud references. During my internship at Ashlar Global I worked in Node.js with PostgreSQL and Sequelize: I automated database migrations and seeders across development, staging and production, added Swagger and OpenAPI documentation, and set up Redis-powered Jest testing workflows. I have also published lead-rescue-ai on GitHub, a TypeScript and Node.js service built on Mastra with SQLite and Vitest, which uses durable jobs to deliver each lead to the CRM exactly once.

What I do

NestJS services with TypeORM and MySQL

TypeScript backends in NestJS with TypeORM and MySQL, structured with domain-driven design, including schema design and query tuning for low-latency operations, as on the Patients Management platform.

Event-driven design in NestJS

Event-driven design (EDD) alongside DDD, used to ship notifications and activity tracking on a multi-clinic NestJS platform.

Node.js microservices in an Nx monorepo

TypeScript Node.js microservices organized in an Nx monorepo on GCP, working with Firestore, Cloud Functions v2 and Typesense, next to a React Admin app with a custom data provider.

GraphQL applications and MongoDB backends

Client-facing Node.js and GraphQL applications with React and Next.js, plus a Node.js and MongoDB backend for form configurations and metadata, as built at Sysvoy International.

Running legacy Express apps in production

Keeping a legacy Express, MongoDB and Handlebars application on Heroku in production beside a greenfield Node.js platform.

Migrations, API docs and tests

Automated migrations and seeders across environments, Swagger and OpenAPI docs, and Redis-powered Jest workflows during the Ashlar Global internship; Vitest on lead-rescue-ai.

Proof

  • —Architected the Patients Management backend in NestJS, TypeScript, MySQL and TypeORM using DDD and EDD; the platform launched with ~5,000 active patient records across 10 live centers. Patients Management 0→1 (HIPAA Clinic Platform)
  • —Built the Portless greenfield stack as Node.js microservices in an Nx monorepo on GCP, scaled to ingest tens of thousands of orders every 5 minutes, while a legacy Express, MongoDB and Handlebars application on Heroku ran in parallel. Portless (Enterprise Logistics Platform)
  • —At Sysvoy International, built client-facing Node.js, React, Next.js, TypeScript and GraphQL applications, with a Node.js and MongoDB backend for form configs, metadata and SFMC references.
  • —As a Software Engineering Intern at Ashlar Global (React, Node.js, PostgreSQL, Sequelize), automated database migrations and seeders, integrated Swagger and OpenAPI docs, and created Redis-powered Jest testing workflows.
  • —lead-rescue-ai: a TypeScript and Node.js service on Mastra, with SQLite and Vitest, that uses durable jobs to deliver each Meta Lead Ads lead to the CRM exactly once. github.com/cognetheus/lead-rescue-ai

Related work

Questions

Has Hassan Ali used NestJS with TypeORM in production?
Yes. Hassan Ali architected the NestJS, TypeORM and MySQL backend of the Patients Management platform at Coderzhunt (Aug–Oct 2025), which launched across 10 live centers. It was built with domain-driven and event-driven design, and the work covered schema design and query performance across clinics, patient histories and shared case activity.
Who can build Node.js microservices in an Nx monorepo on GCP?
Hassan Ali built the greenfield side of the Portless logistics platform (May 2024 – Feb 2025) as TypeScript Node.js microservices in an Nx monorepo on GCP. The project also included a MongoDB-to-Firestore migration using nested collections for a phased cutover, and REST API and webhook integrations with 8 platforms, including Shopify, ShipStation and AfterShip.
Can Hassan Ali work on an existing Express or legacy Node.js codebase?
Yes. On Portless, Hassan Ali kept a legacy Express, MongoDB and Handlebars application on Heroku running in production alongside the new Nx-based platform. Earlier, at Ashlar Global, Hassan Ali refactored backend modules with senior engineers on a Node.js, PostgreSQL and Sequelize system and improved query latency on high-volume workflows.
Does Hassan Ali have GraphQL experience with Node.js?
Yes. At Sysvoy International (Sep 2023 – Jan 2024), Hassan Ali built client-facing Node.js and GraphQL applications, alongside React and Next.js, for waiver processing and participant registration. A Node.js and MongoDB backend built there also published auto-generated public form pages.
How does Hassan Ali test and document Node.js APIs?
Hassan Ali's lead-rescue-ai repository is written in TypeScript, tested with Vitest, and runs with one docker compose up. During the Ashlar Global internship, Hassan Ali added Swagger and OpenAPI documentation and built Jest workflows that cached test outputs in Redis for more reliable stateful execution.

Need this built?

I take on contract and full-time engagements. Tell me what you're building.

Other expertise