Copy the file .env.example
and rename the new file .env.local
, from this file you can customize the environment variables.
For instance, if you need to run the json-server
in a different port, you can set the JSON_SERVER_PORT
to a different value, for example:
JSON_SERVER_PORT=3001
REACT_APP_API_URL=http://localhost:3001
To run the application, run the command:
npm run dev
Launches the tests
Launches the tests in watch mode
Launches the tests and show the current coverage