Create a MongoDB
Use loopback backend framework and connect to a cloud based non relation database.
Last updated
Use loopback backend framework and connect to a cloud based non relation database.
Last updated
Create account
Create new cluster
Choose Amazon
Choose region: North America: Oregon(us-west-2)(U
Note: choose a free tier
Name your database
Submit order
Once the cluster is created, the following dashboard should appear:
Under the Security tab:
Click Database Access
Click on the add new user button
Insert name and password. Remember the username, as it will be used in the next steps.
Choose read and write
Click add user button
In this step you created a user to manage your database. You will need this info to connect the server to the database and manage it.
Note: This is different than your MongoAtlas user account
Under the security tab:
Click Network Access
Click on the add IP address button
Choose allow access from anywhere
Lastly, confirm the changes
Click on the collections button on your cluster dashboard
Click on the add my own data button
Insert database name. Remember this name as it will be used in the next step steps. (final-project)
Insert a collection name
Click Create