Skip to content
Sample app that uses React, Okta, and Firebase and builds a star rating system.
JavaScript HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public Initial commit from Create React App Dec 2, 2019
src working app Dec 2, 2019
.gitignore Added README Dec 2, 2019
LICENSE Create LICENSE Dec 2, 2019
README.md Added README Dec 2, 2019
package.json working app Dec 2, 2019
yarn.lock working app Dec 2, 2019

README.md

Brewstr Beer Rating app

This is a sample app built using Okta, React, and Firebase. It builds a star-rating component to rate beers.

Getting Started

git clone https://github.com/oktadeveloper/okta-react-rating-example.git

Set up an Okta SPA app that uses localhost:3000.

Set up a Firebase Real-Time Database with a ratings collection and read and write set to true.

Create an .env.local file with properties for:

  • REACT_APP_OKTA_CLIENT_ID
  • REACT_APP_OKTA_ORG_URL
  • REACT_APP_FIREBASE_APIKEY
  • REACT_APP_FIREBASE_AUTH_DOMAIN
  • REACT_APP_FIREBASE_DB_URL
  • REACT_APP_FIREBASE_PROJECT_ID
  • REACT_APP_FIREBASE_STORAGE_BUCKET
  • REACT_APP_FIREBASE_MESSAGE_SENDER_ID
  • REACT_APP_FIREBASE_APP_ID
yarn start

Getting Help

If you have questions or find bugs, post them on the Okta Developer Forum.

License

Apache 2.0

You can’t perform that action at this time.