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.
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.
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.
copyright © rawstack.io