This template is configured to use Google Cloud Platform as Identity Provider, feel free to modify the code for a AWS Cognito or a custom implementation. All PR's are welcome 😄 🚀.
Preview the latest version here.
git clone git@github.com:rokket-labs/rokket-react-template.git
cd your-repo-name
yarn
-
GCP configuration 1.1 Enable Identity Platform on your project.
1.2 Add Email / Password provider and click Save.
1.3 Enable the provider.
1.4 Go to
Aplication setup details
and copy the apiKey and authDomain variables. -
Create a file called
.env
and add the variables from the previous step.3.1. REACT_APP_FIREBASE_API_KEY
3.2. REACT_APP_FIREBASE_AUTH_DOMAIN
-
run your project