Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discussion on monorepo #12

Open
yethiha-codigo opened this issue May 23, 2024 · 2 comments
Open

Discussion on monorepo #12

yethiha-codigo opened this issue May 23, 2024 · 2 comments

Comments

@yethiha-codigo
Copy link
Collaborator

We are going to explore

What is monorepo?

  • When multiple apps ( web app, backend or hybrid app ) are store in the single repository we call that monorepo
  • Monorepo embrance DRY Stands by sharing the business logic and utilites with all the apps in the that repo. Because of this we reduces the development time significantly. But poorly written code & structure can backfire this advantage.
  • Monorepo support multiple deployment which mean cms in the monorepo can be deployed to docker which webapp in that same repo can be deployed to amplify

When to used Monorepo?

  • When we develop the multiple apps ( web app, backend or hybrid app ) for an organisation with overlapping business logics.
  • When we want to do a development of multiple apps of an organization with managed/controlled infrastructure.
  • When an organisation consist of two or more apps when has overlapping business logics.

When not to used Monorepo ?

  • Do not use Monorepo on project with tight deadlines, a poor structure or code can reduce the quality of an app & development experience of an app over time.
  • Do not use Monorepo on small project. Trade off is not worth it

How about we don't share the business logic & share only utils in the Monorepo ?

  • Than u are not using Monorepo the right way. The goal & purpose for the Monorepo os to embrance the DRY Stands & introduce the structure of the project.
  • We have better approch to solve the issue of sharing utils, for that please follow this issue
@sudoaugustin
Copy link
Collaborator

sudoaugustin commented May 29, 2024

@yethiha-codigo

When to used Monorepo?
When not to used Monorepo ?
How about we don't share the business logic & share only utils in the Monorepo ?

For these sections, can u please share the articles or any source that u decided to come up with this decisions. It'll be very helpful for the others to analyze. Please share in the comment below. It'll be very appreciated.

@yethiha-codigo
Copy link
Collaborator Author

yethiha-codigo commented Jun 3, 2024

i don't recommend the articles, because i want to prevent u guys from reading articles provided by teachers or newbie. Because most of the issue related to the mono repo are related to practices not technical.
I believe this video perfectly rounded the mono repo issue related to scaling

(https://www.youtube.com/watch?v=Bq3kOftoRqE)

But still, i want u guys to reach out the connections from your dev connections ( linkedin or dev communities ) and discuss about this topic with the one who use monorepo before. By "the one who use monorepo" i mean not for fun projects or side projects. The running project with monorepo with industrial for almost a year or over the years

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment