AI made writing backend code easy - running it in production is still hard.
Prod Forge is an open-source reference that shows how to build and operate a production-ready backend: CI/CD, infrastructure, observability, migrations, and rollback.
Built around a simple Todo API, but designed as a real-world production system.
| Repository | Description |
|---|---|
| Backend | NestJS API - the main guide |
| Infrastructure | Terraform on AWS |
| Layer | Tools |
|---|---|
| Backend | NestJS · Prisma · PostgreSQL · Redis · Docker |
| Infrastructure | AWS · ECR · ECS · RDS · ElasticCache |
| Observability | Prometheus · Grafana · Loki · Promtail |
| Quality | ESLint · Prettier · Husky · Commitlint · CI/CD |
- 15. Release Management
Building software is not just about writing code.
Most engineers learn the craft of coding early in their careers. But the gap between writing working code and running a reliable system in production is wide - and rarely documented in one place.
This project is an attempt to close that gap.
Not by providing a magic template you can clone and ship. But by walking through every decision that happens before, during, and after the code is written.
The stack used here - NestJS, Postgres, Redis, Terraform, AWS - is not the point. These are just tools. The principles behind them apply to almost any production backend, regardless of language or cloud provider.
What matters is the thinking:
- Why does repository structure affect team velocity?
- Why does commit discipline make releases safer?
- Why does observability matter before something breaks?
- Why does a rollback plan need to exist before you need it?
These are not advanced topics. They are basic requirements for any system that real users depend on. The goal of Prod Forge is to make these practices visible, understandable, and reusable.
This project is actively evolving. Planned additions include:
- Frontend repository with the same level of production treatment
- Mobile App repository with the same level of production treatment
- Kubernetes-based infrastructure as an alternative to ECS
If there is something missing that you would find valuable, open an issue or start a discussion.
The best time to set up these practices is at the beginning of a project.
The second best time is now.
A system without observability is a system you cannot debug under pressure. A team without a defined workflow is a team that slows down as it grows. A deployment without a rollback plan is a deployment that will eventually cause an incident with no recovery path.
None of these things are difficult to set up. They are just easy to skip. This project exists as a reminder not to skip them.
We welcome any kind of contribution, please read the guidelines:

