Deploy a NestJS API with a Database Connection
A NestJS 12 API with validation and a PostgreSQL pool, deployed without a Dockerfile. Plus the one-line change that cut my cold start from 17 seconds to 5.
Deploy a NestJS API with PostgreSQL on Light Cloud: PORT from the environment, a pg pool sized for serverless, request validation, a health check that tests the database, and why the start script should run node dist/main.
Read post




