Deploying your Web Application Flashcards
1
Q
How to Deploy Apps with a Database
A
We can’t simply place the app w/database on Heroku, as the app and database will be separated.
We need to place both the app and the database on servers
MongoDB Atlas
Server that hosts the database
2
Q
How to setup MongoDB Atlas
A
- Setup an account with Atlas
- Create a cluster
- Setup security access
- Cluster > Connect > Connect to an application > Use the url obtained to connect with Node.js application
*Deploying app with a database to Heroku