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/empathy-search-engine/ 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 unit and integration tests, generating 2 coverage reports coverage-jest
and coverage-cypress
.
after execute all tests a combined coverage
report will be generated
Launches unit tests, developed in jest and react testing library
Launches integration tests, developed in cypress
NOTE: Server has to be running!, so make sure that you are running npm run start
before to launch integration tests with this command.
Builds the app for production to the build
folder.
make sure that you create a .env
file with:
REACT_APP_SPOTIFY_URL=https://api.spotify.com REACT_APP_BACKEND_URL=https://accounts.spotify.com REACT_APP_TOKEN_SECRET={{YOUR_CLIENT_SECRET}}