A NestJS 11 API starter in TypeScript 5 for Node.js 22, for developers who want the standard module, controller and service layout ready to run in a container. It includes Jest unit tests, Supertest end-to-end tests, ESLint and Prettier, a PORT setting and clean shutdown on SIGTERM.
by Light CloudREST APIs
This is close to what nest new generates, with two changes for container hosting: the port comes from PORT through src/config.ts, and main.ts enables Nest's shutdown hooks so SIGTERM closes the server cleanly. It has one route and no health endpoint, so the first job is usually npx nest generate resource for your own feature, which adds a module, controller, service and DTOs and imports them into AppModule. Note that npm run lint passes --fix and rewrites files. On Light Cloud the deploy runs npm run build and then npm start (node dist/main), and every push to your copy builds and redeploys.
Run npx nest generate resource things. The Nest CLI creates the module, controller, service and DTOs under src/things/ and imports the module into AppModule.
No. Install @nestjs/swagger and set up SwaggerModule in src/main.ts to serve a docs page; nothing else needs to change.
CORS is off. Call app.enableCors({ origin: 'https://example.com' }) in src/main.ts before app.listen.
This starter has no database. The nestjs-postgresql-crud-api template adds one, and deploying it on a paid Light Cloud plan creates the database and sets the connection variables for you.
Yes. It has no Light Cloud code: any host with Node.js 22 runs it with npm ci, npm run build and npm start, with PORT set.

Start a typed NestJS CRUD API on PostgreSQL with DTO validation and Swagger docs
Start a Node.js REST API with Express, CORS, JSON errors and tests already wired up
Start a Node.js API with Fastify 5, request logs and in-memory tests on one dependency