Setting up MongoDB
Installing MongoDB on the system is quite simple for operating systems such as Linux, macOS, and versions above Windows 7. The Windows 7 version requires some patch installation. We are not going to focus on each and every installation step on every operating system, as that will take us out of context. We are planning for minimal installation steps and focusing mainly on our goals of this chapter. Therefore, we are going to install MongoDB on macOS using Homebrew:
Note
For readers who are Windows users, follow this link for more information: https://docs.mongodb.com/tutorials/install-mongodb-on-windows/.https://docs.mongodb.com/tutorials/install-mongodb-on-windows/Or for Linux users, here is the link: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-linux/.https://docs.mongodb.com/manual/tutorial/install-mongodb-on-linux/For macOS users, follow this link: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/.
Homebrew is a package manager for macOS...