This post builds upon the guide to developing projects in MERN stack that I posted a while back, you can find it here.
Heroku probably has the best free-tier service out there for hosting MERN stack web applications. Though it requires certain non-intuitive settings before you can go about deploying your app. This article will guide you through the process of deploying your web-app on Heroku.
- We would be deploying the server and the frontend on the same deployment instance.
- The database being used here is MongoDB Atlas.
- This deployment uses npm instead of yarn for deployment.