Advanced Node and React Training Enviroment setup instructions Class setup 1) Install the MongoDB Server, the sample databases, and tools 1) Create a folder C:\MongoDB 2) Download the MongoDB Community Edition server from: https://www.mongodb.com/try/download/community-edition The latest release, Windows version, zip format 3) Extract the download to the C:\MongoDB folder 4) Create a folder to hold the Database C:\data\db 5) Start the MondoDB server by executing C:\MongoDB\bin\mongod leave the DOS window open 6) Create a folder to hold the MongoDB tools C:\MongoDBTools Open a Command Prompt, and CD into this folder 7) to downloads sample datasets run this command in a Command Prompt window: curl https://atlas-education.s3.amazonaws.com/sampledata.archive -o sampledata.archive 8) Download the MongoDB Shell from https://www.mongodb.com/try/download/shell unzip it into C:\MongoDB\Tools\Shell 9) Download the Databases Tools from https://www.mongodb.com/try/download/database-tools unzip it into C:\MongoDB\Tools\Tools 10) Download the MongoDB Compass GUI from https://www.mongodb.com/try/download/compass download it into C:\MongoDB\Tools\Compass 11) Install the sample Databases by: A) Opening a Command Prompt B) CD to C:\MongoDBTools C) Make sure the MongoDB Server is running D) Run this command: Tools\bin\mongorestore --archive=sampledata.archive 12) Verify the installation by: A) Start Compass by running the exe in the C:\MongoDB\Tools\Compass folder B) Clicking the Add New Connection button, and using the default connection C) Open the sample_mflix Database, to the moves collection D) You will see over 20K movies listed 13) Open the MongoDB Shell by running: C:\MongoDB\Tools\Shell\bin\mongosh.exe 14) Query the sample_mflix database by: A) Pressing enter to use the default connection B) Enter: use sample_mflix C) Enter: db.movies.findOne() D) You will see the first document in the movies collection 15) Exit the Shell by entering quit() 16) Close Compass 17) Close the MongoDB server by entering Control-C in the DOS window 2) Install Node.js and the Yarn Package Manager 1) Download the node zip file from: https://nodejs.org/en/download/prebuilt-binaries 2) Extract the zip file to C:\Node 3) Open Windows Setting and add C:\Node to the PATH enviroment variable 4) Test the installation by: A) Opening a Command Prompt B) Enter: node -v C) you will see the Node veriosn displayed D) Install the Yarn package Manager by running: npm install --global yarn E) Check the Yarn version by entering: yarn --version F) Close the Command Prompt