Note 01 — MongoDB connection commands for the Backend .
why this is for?
This Draft is for fellows to gain direct knowledge about the connection of the database in Mongodb shell with the backend.
Go with the following commands and the ScreenShots for the easierness.
Step 01 — You need go configure and set upthe environmental variables for the mongodb-shell and then work with the mongodb-shell to achieve the witness.
Step 02 — Go inside the project backend
Step 03 — Try out the following commands and the outputs with the example code base.
01. The example code snippets for the testing.
02. Following will be the connection and the mongodb-shell execution.
03. Created a new database and switched to it from the main.
04. Command to insert the data in thebackend to it.
05. Displaying data in a coherent mode.