ChatGPTBackend

Node.js Microservice Template

@promptallJan 30, 2026 4685
Create a production-ready Node.js microservice for [SERVICE PURPOSE].

Stack: Express/Fastify + TypeScript
Database: [PostgreSQL/MongoDB/Redis]
Auth: [JWT middleware]

Include:
- Project structure (clean architecture)
- Environment config with validation
- Database connection with retry logic
- Middleware (logging, error handling, rate limiting)
- Health check endpoint
- Graceful shutdown
- Dockerfile
- Unit test setup
- GitHub Actions CI snippet

Comments

to leave a comment.

No comments yet. Be the first to comment!