A NestJS 12 CRUD API starter in TypeScript for Node.js 22 that stores one resource, items, in PostgreSQL through node-postgres and a connection pool. It is for developers who want Nest modules, class-validator DTOs, Swagger UI at /docs, JSON errors, limit and offset paging and a database /health check, ready to rename.
by Light CloudCRUD APIs

configureApp in src/app.setup.ts applies the validation pipe, the error filter, Swagger and shutdown hooks, and the tests call the same function, so they run the app the way it is deployed. ItemsService is the only file that writes SQL, which keeps a later move to TypeORM, Prisma or Drizzle inside one service. The build is plain tsc with TypeScript 6 into dist/, and npm run build is the type check, since no linter is configured. Renaming items starts with the src/items/ folder and the CREATE TABLE in src/database/database.service.ts. On Light Cloud the deploy runs npm run build, then npm start (node dist/main.js) with DATABASE_URL set, and every push to your copy redeploys.
This starter does it with node-postgres: a global DatabaseService opens a pg pool from DATABASE_URL, and ItemsService runs parameterised SQL through it. You can swap in TypeORM, Prisma or Drizzle inside ItemsService without touching the controller.
They are set up here already: configureApp in src/app.setup.ts calls SwaggerModule.setup('docs', ...), so Swagger UI is at /docs and the schema at /docs-json. New DTOs with @ApiProperty decorators show up after the next build.
Copy the src/items/ folder (module, controller, service and DTOs), add its CREATE TABLE to onModuleInit in src/database/database.service.ts and import the new module in src/app.module.ts.
Press Deploy on this template: Light Cloud copies the repo into your GitHub account, creates a PostgreSQL database, sets DATABASE_URL and runs npm run build, then npm start. Databases need a paid plan.
Yes. It has no Light Cloud code: any host with Node.js 22 and a reachable PostgreSQL runs it with npm install, npm run build and npm start, given DATABASE_URL and PORT.
Start a TypeScript API with NestJS modules, Jest unit and e2e tests and linting set up
Start an Express CRUD API on PostgreSQL with validation, paging and tests set up

Start a Java CRUD API on PostgreSQL with Spring Boot, Swagger UI and Bean Validation