Skip to content

Setting up your local environment

cynthiac3 edited this page Apr 14, 2020 · 6 revisions

React:

  1. Install node.js from https://nodejs.org/en/ . (Make sure your npm version is above 4)

  2. Clone the project, go to the project directory and inside the folder tutify run the command npm install

  3. Run npm run dev and you should be able to see web app at http://localhost:3000/ :)

IF nmp start doesnt run the application try to use this command and do it again: npm install -g create-react-app

MongoBb:

In order to connect successfully to the Tutify database, you will need to white-list your public IP address.

  1. Log into MongoDb Atlas

  2. Navigate to Network Access from the side menu

  3. Click the "Add ip address" button at the top right

  4. Add your ip to the list

Other notes:

  • npm run dev is currently set up to start both the frontend and backend concurrently.
Clone this wiki locally