1 - Install dependencies yarn install
2 - Create a .env
file following the .env.example
file structure:
REACT_APP_AUTH0_AUDIENCE=<Your_auth0_audience>
REACT_APP_AUTH0_CLIENT_ID=<Your_auth0_client_ID>
REACT_APP_AUTH0_DOMAIN=<Your_auth0_domain>
REACT_APP_API_URL=<Your_API_url>
If you're running server and client locally your REACT_APP_API_URL
will look like:
REACT_APP_API_URL=http://localhost:3005/api
After installing the dependencies and creating the .env
file you can start the project by running yarn start
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.