-
cd backend
-
npm install
-
cd ../client
-
npm install
-
cd ..
-
npm install
-
npm start
-
Place your webpages here:
/client/src/webpages/
-
Set up all routes here:
/client/routes/routes.js
-
Place any routes that you want visible in the navigation bar here:
/client/src/App.js
-
While on a webpage, if you want to jump to another webpage, use:
props.history.push("routeName")
-
Place data models here:
/backend/models/
-
Set up all routes here:
/backend/routes/
-
Access routes in the frontend by using axios. You can find axios examples in:
/client/src/webpages/