Getting ready

First, we need to install MongoDB. In this recipe, I'm going to show you the easiest way to install it using Mac, and I'll give you some links to install it if you have Linux or Windows.

From the MongoDB official documentation (https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x): "Starting in version 3.0, MongoDB only supports MacOS version 10.7 (Lion) and later on Intel x86-64." 

Get React Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.