Monorepo
One shared code home that holds several related projects, like a website, an app, and an API, instead of each living in its own separate place.
What it is
A monorepo is a single repository (the folder of code tracked by version control) that contains multiple projects. Your marketing site, your web app, your mobile app, and your shared pieces all sit side by side in one place, each in its own subfolder.
You'd want one when projects share things: the same logo and buttons, the same data types, the same login code. Instead of copying that code between projects and watching the copies drift apart, every project pulls from one shared folder. One change can update everything at once, and one pull request can touch the app and the API together.
The trade-off is size and setup. Builds and tests can get slow if nothing limits what runs, and permissions get blunter, since access to the repo usually means access to all of it. Merging projects is also real work: histories, dependencies, and deploy settings all need sorting out.
A monorepo is not a single app. The projects inside stay separate and can still be deployed on their own. It also isn't the same as a monolith, which describes how the software behaves, not where the code is stored.
How to ask for it
“I have three separate projects that share a lot of stuff. Can you put them all together into one so I don't have to keep copying things?”
“Combine my website, web app, and API repos into a single monorepo with an apps folder for each project and a packages folder for shared code like the design system and types. Keep git history for each, and make sure each app can still be deployed on its own.”
"Put them together" could mean merging into one app, copying files into a folder, or just linking them; "monorepo" says one repository, separate projects inside, shared code in one place.
You've seen this in
- OGoogle, Meta, and Microsoft keep huge parts of their code in one repository
- AA Next.js project folder with separate apps/web and apps/api folders plus a shared packages folder
- GGitHub repos where one folder holds a website, a mobile app, and a shared design system