Question

how can i deploy MERN stack web app to digital ocean App Platform

i want to host my entire ecommerce to digital ocean app platform like mongodb,react and expree server

my github repo consist of 2 seprate folders one for backend and other for react frontend

thank you :D


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

To deploy your express (node.js) application to App Platform, see this https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-20-04

To deploy react (or any Single Page Application, e.g Angular, Vue etc), see this https://www.digitalocean.com/community/tutorials/how-to-deploy-a-react-application-to-digitalocean-app-platform

To connect to MongoDB, you can use DigitalOcean’s Managed Database solutions attached to your App on App Platform, see this https://www.digitalocean.com/community/tech_talks/making-a-node-mongodb-app-on-digitalocean