In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
npm test a To run the full test environment
npm test -- /server To run server tests (optionnal a)
npm test -- /src To run frontend tests (optionnal a)
Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
To run the server run node server.js in the server folder. Make sure to include a uri to a mongoDB server either in a .env file or inserted in the following line in the server.js file.
const uri = process.env.URIThe following is a flowchart of how some of the endpoints function
