Understanding Monorepo

Ukpai Chukwuemeka - Aug 22 - - Dev Community

Hey there, fellow devs! Ever felt like you’re drowning in a sea of repositories? Well, let me introduce you to monorepo. It might just be your new best friend.

What is a monorepo?

So picture this: instead of juggling a lot of different repositories, you only need one big repository that houses all of your projects. That is a monorepo, in a nutshell. But do not get it twisted; it is not the same as that monolithic architecture we all love to hate.

mono repo illustration from the web

I recently discovered monorepo and was pleasantly impressed by it. Monorepo has existed since the early 2000s! and tech behemoths like Google and Facebook have been employing them for years. Talk about arriving late to the party.

Monorepos are not entirely the new kid on the block, but they’ve recently gained much attention. And why is that? As our initiatives become increasingly connected, we will require smarter methods to keep everything under control.

Do you want to see monorepos in action? You can check out the list below:

Did you look at the list and still could not spot why they are monorepos?

Well, here is how you can easily spot a monorepo. If you’re browsing through a repository and notice multiple packages or apps inside, there is a big chance you just stumbled upon a monorepo. It’s that simple.

React Repository from github

Stick around, and we will dig into why they are awesome, how to set up one, and the tools that make them tick. Trust me, whether you are a newbie or a seasoned pro, this monorepo stuff could seriously up your game.

Ready to dive in? Let’s go!

. . . . . . . . . .