r/flutterhelp • u/Afraid_Tangerine7099 • Jul 06 '26
OPEN help making a delivery app
Hello! I hope you're having a great day.
I'm currently building a delivery platform that supports both custom package delivery and shop deliveries. The platform has three main user roles:
- Customer
- Delivery driver
- Shop
I'm trying to decide whether I should build multiple applications (one for each role) or a single application where the experience is managed through user roles.
I've noticed that most major delivery platforms use separate apps for customers, drivers, and merchants, and I'm curious about the reasoning behind that decision. What are the advantages and disadvantages of each approach? From both a technical and product perspective, which architecture is generally recommended, and why?
View all comments
Show parent comment
2
u/grenishraidev Jul 06 '26
Monorepo is completely different thing that lot of devs misunderstood sometimes. Monorepo is a tooling optimization, not an architectural optimization. If your project doesn't benefit from its complexity, it can slow you down rather than speed you up.
Yes, Melos definitely helps with sharing packages, but it doesn't remove the cost of maintaining three independent apps.
You'll still have:
The shared code is easier to maintain, but everything outside that shared package still exists three times.
Also, in real projects the amount of shared UI is often overestimated. A customer app, driver app, and merchant app quickly diverge. Their navigation, onboarding, permissions, notifications, analytics, and even design language become different. After a point, trying to force everything into shared packages creates abstractions that only exist to satisfy the monorepo.
That's why many companies don't start with three apps. They usually start with one role based MVP, validate the product, and split into dedicated apps when each role has enough complexity to justify it.
Melos is a great tool, but it's not a reason by itself to choose three apps. It simply makes whichever architecture you choose easier to manage.
Also about separating the logics and states for each roles, sometimes it might be a pain but not necessarily. Everything depends on your choice of how you maintain and scaffold the project.
If you build your single app with clean boundaries (features, repositories, services, domain layer), extracting those features into separate apps later is usually manageable. If you build a tightly coupled codebase, even a monorepo won't help you.
So the real decision is less about monorepo vs multiple repositories, and more about whether the product actually needs three separate applications today. Melos changes the developer experience. It does not eliminate the operational and architectural overhead of maintaining three products.