In the project directory, create .env file and add variable
REACT_APP_GOOGLE_CLIENT_ID=<your google client id>
REACT_APP_BACKEND_API=<backend app url>
for testing use Google client id:
435103031016-9mbesojpvs0gsaecqlr43j9qs5k8bu8r.apps.googleusercontent.com
after that you can run:
- Install all dependency
yarn - Run project
yarn start
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
You may also see any lint errors in the console.
yarn build
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!