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

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


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

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