monorepo

A single version-control repository that holds several related projects, such as a web app, an API and their shared libraries.

In more detail

Keeping the frontend, backend and shared packages together means one change can update a schema and every consumer of it at the same time, so they cannot drift apart. The cost is that builds must be smart about only rebuilding what changed, which is what tools like Turborepo provide.

Example

apps/web, apps/api and packages/schemas living in one Git repository

Related terms

Taught in

References

Certification courses