Get this api server set up and running before running the fg-react project
npm install
navigate into the dump
folder that has been provided for you and then run the following commands in order.
- create a data folder for db storage
mongod --dbpath <FOLDER_NAME
mongorestore -d <FOLDER_NAME> --db <DATABASE_NAME> [--drop]
(use--drop
if you need to clear out your existing db)
run the fg_api_server.js
with either node
or nodemon
if you have it installed.
the server is hosted on http://localhost:3500