Next.js Discord

Discord Forum

NEXT.js with React Native - better approach and suggestions

Unanswered
Yellowstripe scad posted this in #help-forum
Open in Discord
Yellowstripe scadOP
Hey there! I was initially developing a next js project and now I am in need to extend it to a react native app as well. The web app and the mobile app will be used by separate user roles of the system, both apps will share the same database. And I need to know a better approach to connect both my front end.

I was thinking about having separate repositories for mobile and web but I am unsure if it's okay.

While searching for options I found out that I can use turborepo to create a monorepo to carry on with my need. For that I might need to change my whole project structure, and I need to be 100% sure if its the method or if there's any other better approaches. And i would like to know more about it and any suggestions that I can get.

Any help is appreciated in advance! 😁

(I am a pretty beginner to these stuff)

5 Replies

maybe this?
@Yi Lon Ma https://solito.dev/
Yellowstripe scadOP
I do not have a need of sharing UI components or logic between the web and the mobile so Is it necessary to use this?
Yellowstripe scadOP
Thank you sm!