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
- Clone this repo to your local machine:
https://github.com/Lilaro/poll-check-backend.git
- cd to the backend directory
- run
bundle install
- Create a JWT Secret Key - create a file
.env
in the root directory and includeJWT_SECRET_KEY='your_secret_key'
- Ensure you are running PostgreSQL
- Run rails
db:create
- Run rails
db:migrate
- Run rails
db:seed
- Run
rails s
to run the server onhttp://localhost:3000
- Install and run the Poll Check frontend: Poll Check Frontend Repo