This project was bootstrapped with Create React App.
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.
Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
To deploy the react app on docker, use the following commands
make image
make container-up
Testing for E2E has been setup using cypress, to setup this locally setup a cypress.env.json file on the root folder. Include the following key values using a valid account email and password for the dev environment.
{ "TEST_USER_EMAIL":"", "TEST_USER_PASSWORD":"", "TEST_APP_URL":"http://localhost:3000", "TEST_BASE_API_URL":"http://localhost:5001/api", "TEST_USER_ID": "19945" }
To run E2E tests use
npm run cypress:run-all
- Clone the backend code using 
git clone https://github.com/IDinsight/surveystream_flask_api.git - Run 
make login - Run 
make image-testto build the images. This will build both frontend and backend - Run 
make test-container-upto start docker containers - Run 
make test-container-downto remove the docker containers 
To add new packages to cypress:
- Change directory to e2e
 - Run 
npm install <package>