{"id":50811794,"url":"https://github.com/mdhabibi/12-factor-app-explained","last_synced_at":"2026-06-13T05:06:31.657Z","repository":{"id":362324815,"uuid":"1258425747","full_name":"mdhabibi/12-factor-app-explained","owner":"mdhabibi","description":"A free, interactive, beginner-friendly tutorial on the 12-Factor App methodology — with plain-English analogies, Python examples, and diagrams.","archived":false,"fork":false,"pushed_at":"2026-06-03T15:32:38.000Z","size":147,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-03T17:10:21.973Z","etag":null,"topics":["12-factor","beginner-friendly","cloud-native","devops","docker","kubernetes","learning","microservices","python","software-architecture","tutorial","twelve-factor-app","web-development"],"latest_commit_sha":null,"homepage":"https://mdhabibi.github.io/12-factor-app-explained/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mdhabibi.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-03T15:08:35.000Z","updated_at":"2026-06-03T15:32:59.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mdhabibi/12-factor-app-explained","commit_stats":null,"previous_names":["mdhabibi/12-factor-app-explained"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mdhabibi/12-factor-app-explained","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdhabibi%2F12-factor-app-explained","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdhabibi%2F12-factor-app-explained/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdhabibi%2F12-factor-app-explained/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdhabibi%2F12-factor-app-explained/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdhabibi","download_url":"https://codeload.github.com/mdhabibi/12-factor-app-explained/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdhabibi%2F12-factor-app-explained/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34272697,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["12-factor","beginner-friendly","cloud-native","devops","docker","kubernetes","learning","microservices","python","software-architecture","tutorial","twelve-factor-app","web-development"],"created_at":"2026-06-13T05:06:30.988Z","updated_at":"2026-06-13T05:06:31.652Z","avatar_url":"https://github.com/mdhabibi.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The 12-Factor App — Explained for Beginners\n\n![The 12-Factor App — Explained for Beginners](social-preview.png)\n\nA free, interactive, beginner-friendly tutorial on the **[12-Factor App](https://12factor.net/)** methodology — the classic set of principles for building modern web apps and services that are easy to **deploy, scale, and maintain** in the cloud.\n\nEverything lives in a single self-contained HTML file: no build step, no dependencies, no internet required. Just open it in a browser.\n\n\u003e **📖 Read it live:** https://mdhabibi.github.io/12-factor-app-explained/\n\n---\n\n## Why this exists\n\nMost explanations of the 12 factors assume you already speak \"cloud.\" This one doesn't. Every principle is taught from scratch with:\n\n- 🧠 **Plain-English analogies** (shipping containers, food trucks, taxi ranks, dress rehearsals)\n- 🐍 **Concrete Python examples** — a clear ❌ \"don't\" vs. ✅ \"do\" for each factor\n- 📐 **11 hand-drawn SVG diagrams** that illustrate the tricky ideas\n- 📌 **Notes, tips, and \"why it matters\"** callouts\n- 🧩 A **glossary** of 40+ terms, so no jargon goes unexplained\n- ☁️ **Modern context** — how Docker, Kubernetes, and CI/CD map onto each factor, plus the \"15-factor\" extensions\n\n## What's covered\n\nThe full methodology, one factor at a time:\n\n| # | Factor | The rule in one line |\n|---|--------|----------------------|\n| 1 | Codebase | One repo in version control, many deploys from it |\n| 2 | Dependencies | Declare every dependency explicitly; isolate them |\n| 3 | Config | Keep config (secrets, URLs) in environment variables |\n| 4 | Backing services | Treat DBs, queues, caches as swappable attached resources |\n| 5 | Build, release, run | Separate the three stages; releases are immutable |\n| 6 | Processes | Run stateless, share-nothing processes |\n| 7 | Port binding | Be self-contained; export the service on a port |\n| 8 | Concurrency | Scale out by running more processes |\n| 9 | Disposability | Start fast, shut down gracefully, survive being killed |\n| 10 | Dev/prod parity | Keep all environments as similar as possible |\n| 11 | Logs | Write events to stdout; let the platform handle them |\n| 12 | Admin processes | Run one-off tasks in the same release and environment |\n\n## How to use it\n\n**Option 1 — Read online (easiest):**\nVisit the GitHub Pages link above.\n\n**Option 2 — Open locally:**\n1. Download or clone this repo.\n2. Double-click `index.html` — it opens in any browser.\n\n```bash\ngit clone https://github.com/mdhabibi/12-factor-app-explained.git\ncd 12-factor-app-explained\n# then open index.html in your browser\n```\n\nNo installation, no server, no internet connection needed.\n\n## Who it's for\n\nAnyone building an application that runs as a service — a web API, a website backend, a microservice. If you can write a small Python script, you can follow along. No prior Kubernetes or Docker knowledge required.\n\n## Contributing\n\nSpotted a typo, an unclear explanation, or have an idea for a better analogy? **Issues and pull requests are welcome.** This is a learning resource — improvements that make it clearer for beginners are especially appreciated.\n\n## License\n\nReleased under the [MIT License](LICENSE) — free to use, share, adapt, and build upon.\n\n## Credits \u0026 sources\n\n- The methodology was created by **Adam Wiggins** and the engineers at **Heroku** (2011), published at **[12factor.net](https://12factor.net/)**.\n- The \"beyond 12-factor\" extensions reference **Kevin Hoffman's** *Beyond the Twelve-Factor App*.\n- Tutorial text, Python examples, and diagrams in this repo were written as an independent, beginner-friendly explanation of that methodology.\n\n---\n\n⭐ If this helped you understand the 12-Factor App, consider starring the repo so other learners can find it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdhabibi%2F12-factor-app-explained","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdhabibi%2F12-factor-app-explained","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdhabibi%2F12-factor-app-explained/lists"}