in this artical we will see how we can setup the MongoDB database in our vs code so we don’t need to switch to robo 3t or open MongoDB atlas to see database.
The first step is to download mongodb extension in vs code . link is here
MongoDB for VS Code - Visual Studio Marketplace
MongoDB for VS Code makes it easy to work with MongoDB, whether your own instance or in MongoDB Atlas. Navigate your…
now after that you will see mongodb logo in left side bar , click on it and you will see screen like this
click on the connect button and you will see you local databases
now if you want to connect with mongodb atlas you have to input the connection string which was generate on mongodb atlas ,
click on the connect with a connection string and write connection string like that
so here is you db connect successfully.
thank you , you can subscribe to my YouTube channel.