I am currently building my first production app using Express and MongoDB on the backend. My first question is what is the best bang for buck hosting service? From my research so far I think DigitalOcean looks like a great solution.
Other than this, since I never really deployed any app other than on Heroku I need some clarifications. If I were to hypothetically choose DigitalOcean, can I host both my MongoDB database and Express app on the same process? How would I connect to the database? Will I use the process IP address given to me by the hosting service or will it connect via localhost just like it does locally? Please correct me if I am totally mistaken.
Aucun commentaire:
Enregistrer un commentaire