DEV Community

Cover image for Dockerizing NodeJS, Express, and MongoDB App with NGINX as a Reverse Proxy

Dockerizing NodeJS, Express, and MongoDB App with NGINX as a Reverse Proxy

server side digest on December 18, 2022

🙂 As a beginner developer or while learning Backend development, The most common start point of most developers is building the APIs and connecting...
Collapse
 
webjose profile image
José Pablo Ramírez Vargas

Can anyone explain to me why the obsession for MEAN, MERN and derivates? I just can't see an e-commerce on MongoDB. Clearly the problem is solved better with RDBMS.

Collapse
 
vaibhav68849256 profile image
Vaibhav Khandare

Heyy Jose yes RDBMS is great choice for ecommerce website but if you go by convenient way mongodb are quite easy and they are easily hostable. Just like if any project can made on javascript it will be eventually created in javascript. Similarly mongodb is more convenient.

Collapse
 
webjose profile image
José Pablo Ramírez Vargas

So basically people are so enchanted with MongoDB because it is easy? So people don't really care if an RDBMS runs faster, better, has ACID transactions (which MongoDB does not) and therefore the correct choice for an e-commerce website?

That's just mental, my friend.

Thread Thread
 
vaibhav68849256 profile image
Vaibhav Khandare

For begineers it wont be much necessuary to learn the core concept for dbms they must keep in mind the concepts but for creating prototype mongodb is great..

Thread Thread
 
jpguisa profile image
Juan Pablo Guisasola

Haters will hate, amazing post

Thread Thread
 
webjose profile image
José Pablo Ramírez Vargas

And fanatics won't listen.

Thread Thread
 
leonardopintodev profile image
Leonardo Pinto

Yes, MongoDB does have transactions, is fast, convenient, and there are other applications than e-commerce.

Collapse
 
alec profile image
Alexey Poimtsev
Collapse
 
tikul1 profile image
Hardik Parmar

Great blog.

Collapse
 
ssd profile image
server side digest

Thanks 😊

Collapse
 
asadhanif3188 profile image
|| Asad Hanif ||

Once I ran this application using docker-compose, and hit localhost to see the view, but it retuns me the following:

msg: "No items found"

Can you please guilde what is wrong?

Collapse
 
mezieb profile image
Okoro chimezie bright

Thanks for sharing this because i was thinking about it.well done!!!

Collapse
 
410nidhi profile image
Nidhi Upasani

Thanks a lot for amazing content!!

Collapse
 
light_seekern profile image
Taha Syed

Nice 👍

Collapse
 
mjsf1234 profile image
mrityunjay saraf

Great and simplified content. Keep it up bro👏👏

Collapse
 
vaibhav68849256 profile image
Vaibhav Khandare

Very Helpful