DEV Community

Discussion on: Control your Monorepo 🗄️

Collapse
anduser96 profile image
Andrei Gatej

Thanks for sharing, it was a great read!

I have one question, would you recommend using one of the monorepo tools for a project that will have only the 'client'(the frontend app) and 'server'(the backend app) directories?

Thanks!

Collapse
skona27 profile image
Jakub Skoneczny Author

Hi, yes! It doesn't need to be a frontend and backend application only :)

I think that would also be a huge benefit for you if you use monorepo for ANY bigger project :) For example, for Frontend, you could definitely split your application into a reusable UI library, a Storybook application with a style guide, a library with icons, reusable hooks, etc.

Collapse
anduser96 profile image
Andrei Gatej

That’s great! I plan to start a new project and the last time I had a “client” and a “server” directory in the same repo, it felt quite “wrong” to manually enter each folder and start the app.

So I’ll be exploring yarn workspaces, thank you!