12 factor best practice

Nik Stehr
3 min readApr 26, 2021

Follow 12 factor and you can’t go wrong when rolling out your microservices, here are some practical tips on how to engineer them for real (a more in depth look can be found 12 Factor Apps in Practice).

Codebase

  • Use feature branches to support different versions of an app in the same repo
  • Refactor out shared code into a new repo and reference it in original repo as a library dependency using a dependency management framework
  • Application topology (deployments, config etc) can be version controlled to avoid…

--

--

Nik Stehr

A software engineer who works hard to create simple solutions.