Production-ready Node.js Express API scaffold with Docker support.
- Express API with security and compression middleware
- Health and info endpoints
- Centralized 404 and error handling
- Graceful shutdown for containerized deployments
- Dockerfile and Docker Compose support
- Basic integration test for health checks
npm install
Copy-Item .env.example .env
npm run devThe API will be available at http://localhost:3000.
GET /GET /healthGET /api/v1GET /api/v1/info
docker build -t node-devops-app .
docker run -p 3000:3000 --env-file .env node-devops-appOr with Compose:
docker compose up --build