DEV Community

Discussion on: Do you use a monorepo?

Collapse
 
kwstannard profile image
Kelly Stannard

I have experienced this. Is it really a mono repo if there is one monolithic application though? One app per repo I would just say is a normal repo.

Collapse
 
iilness2 profile image
andre aliaman

not really. you can still use monorepo for microservices. since what you want to build based on the path you can mention (mostly) on config.

Thread Thread
 
sebbdk profile image
Sebastian Vargr • Edited

Can you be more descriptive, how it is it "not really". :)

Collapse
 
sebbdk profile image
Sebastian Vargr • Edited

Afaik mon-repo refers to the practice of having all related application code in the one (mono) repo.
vs separating API's, libraries, etc. into different repositories.

Am i wrong about that interpretation?


You are right tho, the first example would not fit that description strictly, as some dependencies were external (Authentication and API).

It did encompass several unrelated web applications in the same codebase however.

My second example contains all the related source code in one repo, so would fit the description more accurately.