Skip to main content
Home/Glossary/Monorepo

Monorepo

A Monorepo (single repository) is a software development strategy in which the code for multiple related projects or services is kept in one version control repository.

How it works

Unlike the traditional approach of creating a separate repository for each project, a Monorepo centralizes all code, making it easy to share tools, configurations, and dependency libraries. This simplifies cross-project code reuse, dependency management, and large-scale refactoring, making it especially well suited to large teams and complex microservice architectures.

Examples

  • 1.A company manages the code for its website frontend, mobile app backend, and internal admin tools together in a single Git repository.
  • 2.An AI research team consolidates its model training code, data processing scripts, and experiment evaluation tools into one Monorepo to ensure all components stay on consistent versions.