Table of contents

June 3, 2026 · View on GitHub

Logo

AI made writing the 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 system: AI-assisted development, quality gates, CI/CD, infrastructure, observability, migrations, and rollback.

The implementation is based on a simple Todo API, but the architecture follows patterns used in real production systems at scale.

Every major technical decision is documented and explained.


Project structure

RepositoryDescription
FrontendReact Web and React Mobile apps + Design System
BackendNestJS API - the main guide
InfrastructureTerraform on AWS

Stack

Architecture

LayerTools
Web ClientReact · Vite · Redux Toolkit · Tailwind CSS · NX
DeployAWS S3 · CloudFront · ECR · ECS
BackendNestJS · Prisma · PostgreSQL · Redis · Docker
InfrastructureAWS · RDS · ElasticCache
ObservabilityPrometheus · Grafana · Loki · Promtail
QualityESLint · Prettier · Husky · Commitlint · CI/CD

Table of contents

Conclusion

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.

What comes next

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.

A final thought

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.

Contributing

We welcome any kind of contribution, please read the guidelines:

CONTRIBUTING

The MIT License

LICENSE