<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Deechanya SJ</title>
    <description>The latest articles on DEV Community by Deechanya SJ (@deechanya_sj_672e4b61bd62).</description>
    <link>https://dev.to/deechanya_sj_672e4b61bd62</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3547944%2F1edd7334-5183-456d-9dff-530b8962e45e.jpg</url>
      <title>DEV Community: Deechanya SJ</title>
      <link>https://dev.to/deechanya_sj_672e4b61bd62</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/deechanya_sj_672e4b61bd62"/>
    <language>en</language>
    <item>
      <title>Expert Session: MongoDB</title>
      <dc:creator>Deechanya SJ</dc:creator>
      <pubDate>Mon, 06 Oct 2025 17:40:10 +0000</pubDate>
      <link>https://dev.to/deechanya_sj_672e4b61bd62/expert-session-mongodb-21o1</link>
      <guid>https://dev.to/deechanya_sj_672e4b61bd62/expert-session-mongodb-21o1</guid>
      <description>&lt;p&gt;*&lt;em&gt;Step 1: Creating a Dev.to Account&lt;br&gt;
*&lt;/em&gt;&lt;br&gt;
Dev.to is a platform where developers share ideas, tutorials, and projects. It’s free, easy to use, and a great way to connect with the developer community.&lt;/p&gt;

&lt;p&gt;How to create your account:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Go to Dev.to&lt;/li&gt;
&lt;li&gt;Click on the Create Account button at the top right.&lt;/li&gt;
&lt;li&gt;You can sign up with your GitHub, Twitter, or email.&lt;/li&gt;
&lt;li&gt;Fill in the required details and verify your email.&lt;/li&gt;
&lt;li&gt;Once done, personalize your profile and start exploring.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0gknox8khjyambc2y2xj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0gknox8khjyambc2y2xj.png" alt=" " width="" height=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2: Creating a MongoDB Atlas Cluster and Connecting with MongoDB Compass&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;MongoDB Atlas is a cloud-based service that allows developers to store and manage data online without needing to install MongoDB locally. It’s secure, beginner-friendly, and ideal for modern web development.&lt;/p&gt;

&lt;p&gt;Here’s how the setup was done &lt;/p&gt;

&lt;p&gt;Creating the Cluster on MongoDB Atlas&lt;/p&gt;

&lt;p&gt;The user visited the official MongoDB Atlas website — &lt;a href="https://www.mongodb.com/cloud/atlas" rel="noopener noreferrer"&gt;https://www.mongodb.com/cloud/atlas&lt;/a&gt;&lt;br&gt;
.&lt;/p&gt;

&lt;p&gt;Click on “Try Free” and create an account using email ID.&lt;/p&gt;

&lt;p&gt;After verifying the email, they were taken to the Atlas dashboard.&lt;/p&gt;

&lt;p&gt;From there, click “Build a Database.”&lt;/p&gt;

&lt;p&gt;Select the Free Shared Cluster option (the “Free forever” plan).&lt;/p&gt;

&lt;p&gt;Next, choose a cloud provider (like AWS) and a region close to their location for better performance.&lt;/p&gt;

&lt;p&gt;Name the cluster — for example, Cluster0 — and create it.&lt;/p&gt;

&lt;p&gt;After a few minutes, the cluster was successfully deployed. 🎉&lt;/p&gt;

&lt;p&gt;Setting Up Access&lt;/p&gt;

&lt;p&gt;After creating the cluster, open Database Access in the left menu.&lt;/p&gt;

&lt;p&gt;Then click “Add New Database User” and created a username and password (saved safely for later).&lt;/p&gt;

&lt;p&gt;Then, under Network Access, click “Add IP Address.”&lt;/p&gt;

&lt;p&gt;Chose “Allow Access from Anywhere (0.0.0.0/0)” to make it easily accessible during development.&lt;/p&gt;

&lt;p&gt;Then , we are creating a database and collection with registration number&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi9u8v1mw6nweifko3zca.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi9u8v1mw6nweifko3zca.png" alt=" " width="800" height="297"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Click on "Insert Document" and enter in JSON format&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8rpu32qp8lhphdevseh3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8rpu32qp8lhphdevseh3.png" alt=" " width="694" height="396"&gt;&lt;/a&gt;&lt;br&gt;
Enter Name and Registration number &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzt5ajoikbi5ytdcup15m.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzt5ajoikbi5ytdcup15m.png" alt=" " width="769" height="495"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Step 3: Connect MongoDB atlas to MongoDB compass&lt;/p&gt;

&lt;p&gt;Creating a new Database user &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvz6iizout35pbno85fbh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvz6iizout35pbno85fbh.png" alt=" " width="800" height="240"&gt;&lt;/a&gt;&lt;br&gt;
Then go to connections and select Compass &lt;br&gt;
In MongoDB compass  paste the connection string in MongoDB Compass URI&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdhtm11v8eiyhp3hpyrox.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdhtm11v8eiyhp3hpyrox.png" alt=" " width="375" height="496"&gt;&lt;/a&gt;&lt;br&gt;
Hence the Connection is Established&lt;/p&gt;

&lt;p&gt;CRUD operations are the four fundamental functions (Create, Read, Update, Delete) performed on persistent data in a database or application, forming the basic model for managing data throughout its lifecycle. They enable users or applications to add new data (Create), view existing data (Read), modify existing data (Update), and remove unwanted data (Delete). &lt;br&gt;
   1.Create Database &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9tyl884b0cj8yjkawuhl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9tyl884b0cj8yjkawuhl.png" alt=" " width="524" height="184"&gt;&lt;/a&gt;&lt;br&gt;
   2.Inserting values in Database&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu8tdpyfjkqnrbn2n1y9g.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu8tdpyfjkqnrbn2n1y9g.png" alt=" " width="624" height="437"&gt;&lt;/a&gt;&lt;br&gt;
   3.Updating values in Database&lt;/p&gt;

&lt;p&gt;&lt;a class="mentioned-user" href="https://dev.to/santhoshnc"&gt;@santhoshnc&lt;/a&gt; &lt;br&gt;
&lt;a class="mentioned-user" href="https://dev.to/nethra_harshini"&gt;@nethra_harshini&lt;/a&gt; &lt;br&gt;
&lt;a class="mentioned-user" href="https://dev.to/d52_pranithanandhakumar_"&gt;@d52_pranithanandhakumar_&lt;/a&gt; &lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
