Question

please help , what's a best way to deploy MERN webapp

Posted July 11, 2021 54 views
MongoDBNode.jsDigitalOceanReact

i’ve just build a multivendor ecommerce webapp using mern stack its a giant project

Now i want to deploy this webapp on digital ocean

Now i just want to know how do i deploy like deploy directly on digital ocean using nginx firewall etc Or Should i use docker/kubernetes then after containerization go for digital ocean

Or

If you know a better way to deploy im open to suggestions

-i’ll be using two servers one for mongodb and other for react and node,If you think if im doing it wrong please correct me

-or should i use 3 server for backend,frontend and mongodb respectively

-what’s your opinion how should i do things

This webapp is going to get around 5000-10000 Per day visits

Last question should i use one git repo like combined backend+fronent Or should i use two repo one for frontend and other for backend

Any suggestion on folder structure for this big webapp

Please help im really stuck and confuse

if im doing anything wrong do correct me

Submit an answer

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