I've just open-sourced a clean, production-ready Node.js starter project with:
- π JWT-based Auth (Register, Login, Password Reset)
- π PostgreSQL with schema migrations
- π³ Dockerized for dev & prod
- π Email Integration (reset password flow)
- π§ͺ Zod Validation
- π Pino Logging
- π‘οΈ Helmet, CORS, Error handling
π Why I built this
Every time I spun up a new backend, Iβd end up rebuilding the same auth logic, boilerplate, and config. This project gives me a solid base to build on β modular, secure, and ready for deployment.
π§ Tech Stack
- Node.js 22
- Express
- PostgreSQL 17
- Docker & Docker Compose
- JWT
- Zod
- Pino
- Nodemailer
π GitHub Repo
π https://github.com/vipinbathaw/node-postgres-auth-boilerplate
Top comments (0)