Getting ready

We need to install MongoDB locally to use it in our application. The MongoDB team provides extensive documentation for installing MongoDB on every conceivable operating system and, often, with several examples of different ways to install based on your preferences for how you want MongoDB to run as a process.

You can visit the following link for more information on it:

https://docs.mongodb.com/manual/administration/install-community/

For an example of how simple MongoDB can be to install, the following is an example of how Mac OS users can use homebrew to install MongoDB via their terminal:

brew install mongodb

You can check that mongoDB is properly installed and accessible to run by simply checking its version in your terminal:

mongo --version 
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.136.18.61