DEV Community

Vipin Bathaw
Vipin Bathaw

Posted on

๐Ÿ› ๏ธ Node.js + PostgreSQL Auth Starter with Docker โ€” Production-grade Boilerplate

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)