What arhitecture to use - web app and mobile app
Answered
Rhinelander posted this in #help-forum
RhinelanderOP
Hey, I want to make mobile app and web app i was thinking backend in express with restfull arhitecture frontend in reactnative (mobile) and next.js (web).
Is there a better arhitecture? I saw bff, mvc, clean, microservices etc... which would you recommend?
Is there a better arhitecture? I saw bff, mvc, clean, microservices etc... which would you recommend?
Answered by B33fb0n3
Yea, nextjs can create route handlers and these route handlers interact with your database, auth, … and whatever you need
5 Replies
@Rhinelander Hey, I want to make mobile app and web app i was thinking backend in express with restfull arhitecture frontend in reactnative (mobile) and next.js (web).
Is there a better arhitecture? I saw bff, mvc, clean, microservices etc... which would you recommend?
why not having nextjs handling the backend for all and the frontend for the web?
@B33fb0n3 why not having nextjs handling the backend for all and the frontend for the web?
RhinelanderOP
That would be ideal
And i build mobile app on top of next.js backend?
@Rhinelander And i build mobile app on top of next.js backend?
Yea, nextjs can create route handlers and these route handlers interact with your database, auth, … and whatever you need
Answer