Boulder React Coding Night logo

Welcome to the second Boulder React Coding Night!

Start

  • Fork this repo into your personal github account
  • Clone from your repo onto your local machine
  • Run npm install
  • Run npm start

Sync With Master Repo

  • git remote add upstream git@github.com:gooWee/Boulder-React-Coding-Night-2.git
  • git fetch upstream
  • git pull upstream master

API Resources

  1. Get current representatives by address
https://www.googleapis.com/civicinfo/v2/representatives?key=[key]&address=[address]
  1. Get all elections
https://www.googleapis.com/civicinfo/v2/elections?key=[key]
  1. Get individual election by address & election id
https://www.googleapis.com/civicinfo/v2/voterinfo?key=[key]&electionId=2000&address=[address]

Nav

  • Officials (Home page)
  • Elections

Screens:

User Stories

Officials Page (API 1)

  • User can enter zip code to see a list of representatives by location
  • User can enter party affiliation
  • User can see nested lists of 1) divisions 2) offices for each division and 3) officials for each office
  • User can click on a single official to navigate to a page for that official

Individual Official Page (API 1)

  • User can see all info for official
  • User can click links on the official's page to view website and social media (icons)

Elections Page (API 2)

  • User can see a list of all upcoming elections
  • User can click on a particular election to navigate to a page of info for that election

Individual Election Page (API 3)

  • User can see seats up for grabs
  • User can see full list of candidates for each seat
  • User can see candidates highlighted different colors based on party affiliation
  • User can click on candidate to see details/links for that person
  • User can filter candidates by party affiliation

Social Sharing

  • User can share elections
  • User can share candidates

Extra Credit

  • Make a progressive web app
  • User can save to desktop
  • User can persist address.