MongoDB on Windows
Of course, if we want to follow the samples in this chapter, an installation of MongoDB is required on our local machine. You can do this from the official site (https://www.mongodb.com), where you'll find the installation software for the most popular operating systems (Windows, Mac, Linux, and Solaris).
You'll also find different editions of the product, including an Enterprise version for different flavors of Mongo. For the purpose of this topic, we can use the popular Community Edition Server version and download and install it using the .msi
file resulting from the process.
As the documentation indicates, the installer includes all other software dependencies and will automatically upgrade any older version of MongoDB that's previously been installed. The current version (at the time of writing this) is 3.2.6, and it changes periodically. The process only takes a few seconds:
File structure and default configuration
As a result of the installation, a set of files will...