Tired of spending days setting up the same stack for every new project?
I just open-sourced a free boilerplate that gives you a complete, production-ready foundation to build your next SaaS or web app.
What's in the stack?
- Next.js 14 (App Router + TypeScript)
- FastAPI (Python backend)
- PostgreSQL + Redis
- Nginx reverse proxy
- Docker Compose (dev environment)
-
.env.examplepre-configured - MIT License
Everything is wired together out of the box. Clone, configure your .env, run docker-compose up and you're live.
GitHub (free Lite version)
https://github.com/nkz21/nextjs-fastapi-docker-boilerplate
Star it if it helps you!
Why I built this
Every time I started a new project I was spending 2-3 days just setting up the infrastructure: connecting the frontend to the backend, configuring Nginx, wiring up the database, writing Docker configs...
I decided to build it once, properly, and share it.
Pro Version
For developers who want to go straight to production, I've put together a Pro version that adds:
-
docker-compose.prod.yml— battle-tested production setup with health checks -
Makefile— one-command deployments (make deploy,make logs,make restart) -
nginx.conf— SSL-ready, optimized Nginx configuration - Grafana + Prometheus monitoring stack — real-time dashboards for your API
- Priority email support
Price: €39 one-time (no subscription)
Get it here: https://devtoolsnks.lemonsqueezy.com
Use code LAUNCH20 for 20% off — limited time!
Lite vs Pro comparison
| Feature | Lite (Free) | Pro (€39) |
|---|---|---|
| Next.js 14 + FastAPI | Yes | Yes |
| Docker Compose (dev) | Yes | Yes |
| PostgreSQL + Redis | Yes | Yes |
| Nginx | Basic | Optimized |
| Production docker-compose | No | Yes |
| Makefile | No | Yes |
| Grafana + Prometheus | No | Yes |
| Support | Community | Priority |
Feedback welcome! Drop a comment if you have questions or suggestions.
Top comments (0)