Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oktadev/okta-react-rating-example
Sample app that uses React, Okta, and Firebase and builds a star rating system.
https://github.com/oktadev/okta-react-rating-example
authentication firebase firebase-realtime-database okta react react-components reactjs
Last synced: 3 days ago
JSON representation
Sample app that uses React, Okta, and Firebase and builds a star rating system.
- Host: GitHub
- URL: https://github.com/oktadev/okta-react-rating-example
- Owner: oktadev
- License: apache-2.0
- Created: 2019-12-02T19:02:18.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T13:26:49.000Z (almost 2 years ago)
- Last Synced: 2024-04-15T15:55:30.497Z (7 months ago)
- Topics: authentication, firebase, firebase-realtime-database, okta, react, react-components, reactjs
- Language: JavaScript
- Size: 1.43 MB
- Stars: 5
- Watchers: 5
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```sh
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```sh
yarn start
```## Getting Help
If you have questions or find bugs, post them on the [Okta Developer Forum](https://devforum.okta.com/).
## License
[Apache 2.0](LICENSE)