These are the most important prerequisites for the code base to run:
- You need to have MongoDB installed on your system. You can download it for both Windows and UNIX-based operating systems from the documentation site, https://www.mongodb.com/. If you have a Windows computer, follow the instructions at https://docs.mongodb.com/v3.2/tutorial/install-mongodb-on-windows/. If you have a Mac, follow the instructions set at https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/.
- Start MongoDB before running the code base.
- Seeding the database: In order to visualize the data and see how requests and responses work with Redux Saga, we have created a seeder script that will add a list of users to the MongoDB database. To learn more about the seeder function, you can check out CH06/server/helpers/seed.js.