janderson16 / swept_away

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SweptAway

About the app

Swept Away is an app that was inspired by those diligent civil servants handing out parking tickets. It is a directory for the street sweeping routes and schedules of the city of Boston. Once logging in with their Google account, users can visit the index page which displays every route, its scheduled day and time, and which side of the street will be swept. Alternatively, they can search by street name limiting the results. After clicking on a individual route, users can view a Google map rendering the specifics of that route. It uses the Faraday gem to hit the City of Boston's API. It makes use of Google's OAuth service to log in and Google Maps to provide a visual representation of routes. The Kaminari gem was utilized for pagination and Javascript/jQuery was implemented for the filter function. A PostgreSQL database was used to store user data.

Production link

Stack

  • Ruby 2.3.0
  • Rails 5.0.0.1
  • RSpec test suite w/ Capybara

Setup

  1. Clone down the repository $ git clone git@github.com:janderson16/swept_away.git
  2. Bundle $ bundle install
  3. Create database $ rake db:create
  4. Migrate $ rake db:migrate
  5. Seed $ rake db:seed

Run Locally

  1. Start server $ rails s
  2. visit localhost in broswer localhost:3000

Run Test Suite

  1. rake db:test:prepare
  2. $ rspec

About


Languages

Language:JavaScript 57.2%Language:CSS 34.8%Language:Ruby 5.7%Language:HTML 2.2%Language:CoffeeScript 0.1%