Question

How should I structure a Full stack app with the vue front-end, express for backend server and mongodb for database on digital ocean?

Posted October 31, 2018 4.7k views
MongoDBNode.jsUbuntu 18.04

How should I structure a Full stack app with the vue front-end, express for backend server and mongodb for database on digital ocean? I expected to have around 10k users. Considering scaling, ease development, continuous integration, among others, should I use two $5 droplet for express and mongodb or one $5 droplet will be enough.

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.

×
Submit an Answer
1 answer

Hello,

Just came across this question and wanted to suggest a few things for anyone who comes across this in the future:

  • Initially if you are not expecting a lot of traffic you could deploy all of the services on a single Droplet and then scale up as needed
  • Also DigitalOcean now offers Managed MongoDB databases, so if you have to scale you could easily do that with the Managed clusters:

https://www.digitalocean.com/products/managed-databases-mongodb/

Best,
Bobby