Coder Social home page Coder Social logo

boulder-react-coding-night-2's Introduction

Boulder React Coding Night logo

Welcome to the second Boulder React Coding Night!

Start

  • Fork and clone this repo
  • Run npm install
  • Run npm start

API Resources

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

Nav

  • Home - Screen 1
  • Representatives List - Screen 2
  • Elections List - Screen 3

Screens:

Screen 1 - Home

  • User can enter address or allow app to access current location
  • User can enter party affiliation

Screen 2 - Representatives List

  • User can see list of their own current representatives
  • User can click on their own current representatives to see additional info.

Screen 3 - Elections List

  • User can see a list of all upcoming elections
  • User can filter elections by state
  • User can see elections in their own state highlighted
  • User can click on particular election
  • User can see seats up for grabs
  • User can share elections.

Screen 4 - Candidate List

  • User can see full list of candidates for each seat
  • User can see candidates highlighted in Blue, Red, or Yellow according to their affiliations.
  • User can click on candidate
  • Candidate Screen?
    • User can see candidate details/links
    • User can Filter candidates by party affiliation
    • User can share candidates.

Extra Credit

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

Deployment Instructions

  • npm run build
  • npm run surge
  • You'll be prompted to create a surge account if you don't have one
  • IMPORTANT: add build to the end of the project path
  • Leave the default domain or modify the value before .surge.sh
  • Copy the URL and visit your site!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.