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)