-
Notifications
You must be signed in to change notification settings - Fork 1
Setting up your local environment
cynthiac3 edited this page Apr 14, 2020
·
6 revisions
React:
-
Install node.js from https://nodejs.org/en/ . (Make sure your npm version is above 4)
-
Clone the project, go to the project directory and inside the folder tutify run the command
npm install
-
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.
-
Log into MongoDb Atlas
-
Navigate to Network Access from the side menu
-
Click the "Add ip address" button at the top right
-
Add your ip to the list
Other notes:
-
npm run dev
is currently set up to start both the frontend and backend concurrently.