Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 1.66 KB

README.md

File metadata and controls

33 lines (27 loc) · 1.66 KB

Poll Check

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

Technologies and Frameworks Used

Backend

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

Frontend

React.js - frontend JavaScript library
React Router DOM - declarative routing library
Semantic UI - UI component framework
Mapbox GL - map api

Installation

  • 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 include JWT_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 on http://localhost:3000
  • Install and run the Poll Check frontend: Poll Check Frontend Repo