/rokket-react-template

Rokket React Template :rocket:

Primary LanguageJavaScriptMIT LicenseMIT

babel

Rokket Labs React Template

Netlify Status GitHub license Last commit


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.

Getting Started

Install dependencies

git clone git@github.com:rokket-labs/rokket-react-template.git
cd your-repo-name
yarn

Enable Identity Platform

  1. 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 detailsand copy the apiKey and authDomain variables.

  2. Create a file called .envand add the variables from the previous step.

    3.1. REACT_APP_FIREBASE_API_KEY

    3.2. REACT_APP_FIREBASE_AUTH_DOMAIN

  3. run your project