before using MongoDB you have to run it locally to do that:
bin
folder you will find at C:\Program Files\MongoDB\Server\4.2\bin
mongod.exe
. will open a new terminal with server details.mongo.exe
. will open the shell which allows you to interact with the database.