Section A6, Group 2
- Added proxy for api calls in client/package.json
Followed two main tutorials for setting up the application.
-
https://dev.to/nburgess/creating-a-react-app-with-react-router-and-an-express-backend-33l3
-
For information on the express backend:
npm start Starts the development server.
npm build Bundles the app into static files for production.
npm test Starts the test runner.
npm eject Removes this tool and copies build dependencies, configuration files and scripts into the app directory. If you do this, you can’t go back!
-
In the root directory: 'npm install'
-
'cd client && npm install'
Unless necessary in both the server and the client, 'cd client' & then 'npm install [package_name]'