A
JavaScript
application that locates the subway stations with elevators and escalators in New York City
Built with ✨ by
Annie Zheng and
Mohammed Shaikh
ðŸ§Explore: Demo || Deployed App || Backend
- View MTA subway stations via Google Maps
- Filter subway stations based on accessibility options:
- Elevator
- Escalator
- View and leave reviews of each subway station
This web app is built with the following:
Backend
- Ruby [2.6.1]
- Rails [~> 6.0.2] - MVC web framework used as an API
- Active Model Serializers [~> 0.10.0] - Serializing API routes to JSON
- PostgreSQL [>= 0.18, < 2.0] - Database
- Vanilla JavaScript [ES6]
- Custom CSS3 styling
- Bootstrap [4.0.0]
- Google Maps JavaScript API
Backend Installation:
- Clone this repo to your local machine
git clone <this-repo-url>
- run
bundle install
to install required dependencies - run
rails db:create
to create a database locally. - run
rails db:migrate
to create tables into the database. - run
rails db:seed
to create seed data. - run
rails s
to run the server.
Frontend Installation:
- Clone frontend repo to your local machine
git clone <frontend-repo-url>
- Ensure transit-backend is running locally on
http://localhost:3000/
- run
open index.html