This project was bootstrapped with Create React App, using the Redux and Redux Toolkit template.
You must define these environment variables. For local development, fill the .env
file.
REACT_APP_DOMAIN="http://localhost:3000"
: What is the URL of this frontendREACT_APP_API_URL="https://api.mocky.site"
: What is the URL of the mocky API
REACT_APP_MAINTENANCE=false
: Set to true to activate the maintenance page
REACT_APP_GOOGLE_ANALYTICS_TRACKING_ID="UA-XXXXXX-X"
: Fill this variable if you want to activate Google analytics tracking
REACT_APP_SHOW_PROMOTING_PANEL=true
: Display or not the promoting panel (give a shoot on twitter, buy me a beer)
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.