How Towami Runs Four Go Services From a Single Monorepo Codebase
Towami, a commerce platform offering white-label stores and country marketplaces, operates four distinct long-running services — a marketplace portal, merchant storefronts, an admin panel, and a background worker — all built from one Go monorepo. Each service has its own entry point under a shared cmd/ directory, yet all draw from a common internal/ package tree structured in clean architectural layers. The team chose a monorepo over separate repositories to avoid duplicating shared models, enable atomic refactors across layers in a single commit, and simplify deployment using self-contained binaries without container orchestration. In development, Docker and the Air hot-reload tool are used with scoped watch configurations so that each service only rebuilds when its own relevant files change. The team notes this architecture suits a single team sharing a common database schema, while leaving room to split boundaries later if independent ownership becomes necessary.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in