My FeedDiscussionsHashnode Enterprise
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

Do you think Mern-starter should have a second server for api calls?

Ajar's photo
·Jun 15, 2016





12 votes · Closed

Hi all, I've been using Mern in production for a few months and I'm wondering, since it is a seed project for universal apps, doesn't it make more sense to separate rest api routes to live on a second separate server? we can run it on a different port on the same machine when developing locally, but architecture wise I think it enables you much more flexibility. what do you think?