Hall of FameAdam Wiggins20111 min readintermediate
The Twelve-Factor App
Summary
The Twelve‑Factor App outlines a set of twelve best‑practice guidelines for building SaaS applications that are portable, scalable, and maintainable. Following the factors—codebase, dependencies, config, backing services, build/release/run, processes, port binding, concurrency, disposability, dev/prod parity, logs, admin processes—helps teams ship reliably to modern cloud platforms.
- Store configuration in environment variables, never in code.
- Treat backing services as attached resources accessed via URL.
- Separate build, release, and run stages strictly.
- Run the app as one or more stateless processes.
Engineers and ops teams building SaaS services should know these principles to avoid lock‑in and operational friction.
6/10


