jhuleatt / react-roads

Home Page:https://react-roads.web.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

⚛️🚗 React Roads

ReactFire demo presented at React Day Berlin 2019 in the talk: Modern React apps with Hooks, Suspense, Context, and Firebase. If you want to follow along with my livecoding, use the branch livecode-starter.

View the live site at react-roads.web.app

The list of roads is from the United States Census Bureau's US Roads public BigQuery dataset.

Setup

  1. Create a Firebase Project and enable Google Analytics for Firebase
  2. Enable Firestore and Anonymous Authentication
  3. Run the seed data script
  4. Add your firebase config in a new file: src/firebase-config.js
  5. Run yarn and yarn start to start the development server

Deployment

  1. Run firebase init in a terminal
  2. Run yarn build
  3. Run firebase deploy

About

https://react-roads.web.app

License:Apache License 2.0


Languages

Language:JavaScript 56.2%Language:CSS 37.8%Language:HTML 6.0%