← Back to RawStack

NestJs

NestJS is a TypeScript-first Node.js framework for building scalable server-side applications. It provides a structured module system, dependency injection, decorators, and support for common backend patterns, making it a strong fit for maintainable API development.

The framework combines familiar ideas from modern backend development with first-class TypeScript support. It works especially well for applications that benefit from clear boundaries between modules, infrastructure, and business logic.

Where is it used in the stack?

NestJS is the foundation of the RawStack API. It provides the application structure, module boundaries, HTTP layer, dependency injection, and integration points for features such as validation, authentication, and CQRS.

Why are we using it?

NestJS was chosen because it gives the API a clear, scalable structure without forcing business logic to live inside framework-specific code. Its module system pairs well with RawStack's domain-driven approach, making it easier to grow a modular monolith while keeping the codebase clean and testable.

Find out more

  • The official NestJS documentation is here
  • Learn more about the RawStack API architecture here

Start building now!

Give you or your team a production-ready foundation for web and mobile apps, with performance, scalability, and maintainability built in.

npx create-rawstack-app@latest

copyright © rawstack.io