DEV Community

Zera Shahadiya
Zera Shahadiya

Posted on

From dev.to to Databases

Step 1:Started off by creating an account in dev.to to create my first blog.

Step 2: Moving forward, I downloaded MongoDB Compass to manage and visualize my database.

Step3:Next, I signed up on MongoDB Atlas and successfully created my first cluster.

Step 4:Loaded the dataset,and created a database under collections in MongoDB Atlas

Step 5:Inserted a document in the database.

Step 6:Add IP address in network access

Step 7: Add new database access by creating a username and password,the role should be read and write and then make the database activation temporary

Step 8: Connect it to the mongoDB Compass

Step 9:In cluster--> connect-->select MongoDB connect-->copy the connection string

Step 10:Paste the copied connection String(in compass) and change with your username and password that was given in database access.

Step 11:successfully connected MongoDB compass with atlas

DOING CRUD OPERATIONS:
Step 12:CREAT-->Open the MongoDb Shell,change the DB to your name and using "db.collcection_name.insertOne()" insert the data's.


Step 13:READ-->reading the data in the collection(tarunika)

Step 14:UPDATE-->Doing updation of data using "db.collection_name.updateOne()"

This was an exciting start to my journey with databases and blogging!

Special thanks to @santhoshnc for guiding us throughout the process.

@vihashini_1a209d60d5a2172
@tarunika_b_ca0801bd80e84d
@tharunika_e479edd6b0a7d33
@sangamitra_p
@shristi_pokhrel_7d1349f1b
@sowmya_c_3fd69896647075fe
@sugatha_2007
@valarmathi_rs_2d9618cf47
@varshini_a66f2dc769447f4f

Top comments (1)

Collapse
 
tarunika_b_ca0801bd80e84d profile image
Tarunika B

Happy Learning Zera...!!!