From Writing to Databases



This content originally appeared on DEV Community and was authored by Keerthi Laksana

1.Created an account in dev.to


Now click create post to create your own blog .

2.Install MongoDB Compass

3.Sign-up and sign-in in MongoDB Atlas

4.Create a free cluster

5.Load the sample dataset in the created free cluster

6.Create a database

7.Once after creating insert the values into the database by giving insert document

8.To connect MongoDB atlas and MongoDB compass we need a connection string

9.To create a connection string :
9.1. Go to network access and update with your current IP address.

9.2.To create username and password in database access by entering a username and password, k8SE5zKUVR4Mqy0L update the built in role

9.3. Open cluster and copy the connection string

10.Once after connecting with the database CRUD operations can be performed.

@santhoshnc @divya_dharshinik_0601 @aksharaal_13 @dishanyaa_shrii_k_m @jeeva_dharshini_p


This content originally appeared on DEV Community and was authored by Keerthi Laksana