Live data from Hacker News

Ask HN: Startups – Are you on a monorepo or multi-repo set up?

news.ycombinator.com

1–10 of 13 posts

Ask HN: Startups – Are you on a monorepo or multi-repo set up?

#1
Hello friends! We're designing our next iteration of deployment tooling, and wanted to get a feel for whether startups with Do you -

1. Mono-repo (frontend + backends + services + infra [...]) all in 1 repo)

2. Multi-repo (separate out frontend, from backend / each services /) or any other cross-repo structure

What's your guys' structure?

Re: Ask HN: Startups – Are you on a monorepo or multi-repo set up?

#5
I have 4 repos.

All the backend work is in one repo. The monolith has everything including the core API services, background/batch processing, etc.

I have a mobile repo but we aren't ready at all yet to work on mobile. It is a flutter app, but mostly proof of concept type stuff.

Then there's 2 repos for web UI. One is a next js app for generating applications for customers, and the other is a standard react SPA which is what customers use to build their applications.

Re: Ask HN: Startups – Are you on a monorepo or multi-repo set up?

#8
We are building an application/infra platform, Noop [0], it's multi-repo, one key benefit is it facilitates the deployment of different system components with greater isolation.

That said, I'm a big fan of mono-repo. Noop actually supports developing mono-repos in a really interesting way. Here's an example [1] Vue + Node backend in one app. It should be pretty straightforward to see how you might be able to extrapolate that to more services when needed by looking at the .noop/blueprint.yaml in the linked repo.

0. https://noop.dev 1. https://github.com/noop-inc/template-nodejs-vue

Re: Ask HN: Startups – Are you on a monorepo or multi-repo set up?

#10
Mono-repo, mono-language, and really enjoying it - enables much easier refactoring and using a single strongly typed language makes lots of issues go away. We do have a few other repos for open source projects or libraries we publish, but the majority of the work is done on our mono-repo.
Post reply on HN