A React.js and Ruby on Rails web application for communication about NYC polling sites, election day ride shares and voting problems
Built by Lisa LaRochelle
Ruby on Rails - server framework
PostgreSQL - database
JWT and bcrypt - authorization, authentication and encryption
Fast JSON Serializer
Rest-Client - HTTP request client
NYC Open Data - NYC polling site api
React.js - frontend JavaScript library
React Router DOM - declarative routing library
Semantic UI - UI component framework
Mapbox GL - map api
npm - node package manager
-
First, install and run this project's backend. Click here for instructions: Poll Check Backend
-
Clone this repository to your local machine:
https://github.com/Lilaro/poll-check-frontend.git
-
cd to the frontend directory
-
Ensure you have access to the Mapbox api - Get a key here, create a file
.env
in the root directory and includeREACT_APP_MAPBOX_TOKEN="your_mapbox_key"
-
run
npm install && npm start
-
When prompted, agree to run the frontend on
http://localhost:3001