News for hackers. Stuff that matters.
Re:Benefits of a Monorepo by Ensorceled on Wednesday May 01, 2019 @07:04AM (#19796016)
I decided to read this expecting to see an explanation as to why my DRF backend should be in the same repository as my React Native frontend, and instead found a discussion on why my React Native code shouldn't be broken up into iOS and Android.

Not sure this is what people mean by a monorepo ...

Re:Benefits of a Monorepo by shibel on Wednesday May 01, 2019 @07:14AM (#19796063)
I tried deploying my DRF backend[1] + Nuxt.js[2] demo-app on Heroku[3] as one repo but it was a NIGHTMARE. Yes, it sucks to have to open both projects in my IDE in development, but it's nowhere near the difficulty I had with the mono-repo. Plus, I can find things much faster within each project when they are split.

[1]: backend → https://github.com/SHxKM/django-vue-ssr

[2]: frontend → https://github.com/SHxKM/django-nuxt-ssr-front

[3]: live-app → https://django-nuxt-ssr.herokuapp.com/ (on a free dyno, could crash on first load)

Re:Benefits of a Monorepo by nicoburns on Wednesday May 01, 2019 @07:22AM (#19796097)
I've settled on a many-repos-in-same-parent-folder pattern, which means that I can open them all in the same editor window if I want to.

I've also forgone proper IDE "project" in favour of opening the directory in my editor on an ad-hoc basis from the command line (e.g. `cd frontend && subl .`). It's not perfect, but it avoids the issue of having too many windows, or having to fumble through IDE project switching dialogs.

Re:Benefits of a Monorepo by shibel on Wednesday May 01, 2019 @07:28AM (#19796130)
Yeah, the "issue" for me is spinning up the backend-server from the frontend project, or vice-versa, but I should probably stop being lazy and write a simple script to spin up both at the same time.
Re:Benefits of a Monorepo by is0tope on Wednesday May 01, 2019 @11:41AM (#19798121)
I highly reccomend tryi g out docker compose if you are doing this kind of thing.
Re:Benefits of a Monorepo by PunchTornado on Wednesday May 01, 2019 @10:15AM (#19797163)
monorepo means that the whole product is inside a single repo. Like google and fb do it.