Skip to content

timroesner/BayPass

Repository files navigation

Bay Pass - A mobile transit solution

screen shot 2019-02-07 at 6 48 06 pm

Build Status codecov

Summary

This repo contains all the code to our senior project, which was completed in the spring semester of 2019. We decided to build an iOS App in Swift that solves some of the issues transit riders in the Bay Area have been experiencing. For example getting to and from transit stations, purchasing tickets on their phone, reloading Clipper cash and adding passes, and integrating electric scooters with transit options.

Team Members

How we work

We are an agile team and have 1 and 2 week sprints that you can find under projects. We estimate each task's complexity and review each others code before merging. Additionally we use the following tools for better collaboration:

Architecture

We practice MVVM for our code strcuture, and use Travis for our CI enviorment, which builds each PR and runs tests to see if the branch is passing. We also use coverage reports from codecov.io to see the test coverage of the diff in a PR and the overall test coverage.

Setup

After cloning this repository you will first need to run pod install to download all the necessary pods, which are not stored as part of this repo. Also you will need to add your own API keys to a shell script named env-vars.sh which looks as follows:

export BIRD_TOKEN=YOUR_TOKEN
export BART_TOKEN=YOUR_TOKEN
export GOOGLE_DIRECTIONS=YOUR_GOOGLE_API_KEY
export HEREAPPID=YOUR_HERE_ID
export HEREAPPCODE=YOUR_HERE_APP_CODE
export MULTICYCLES=YOUR_TOKEN
export MERCHANT_ID=YOUR_APPLE_MERCHANT_ID
export STRIPE_KEY=YOUR_STRIPE_KEY

UI

Map

screen shot 2019-02-07 at 6 45 17 pmscreen shot 2019-02-07 at 6 45 17 pmscreen shot 2019-02-07 at 6 41 51 pmscreen shot 2019-02-07 at 6 51 33 pm

Tickets

screen shot 2019-02-07 at 6 45 17 pmscreen shot 2019-02-07 at 6 44 29 pmscreen shot 2019-02-07 at 6 45 17 pmscreen shot 2019-02-07 at 6 45 17 pm

Clipper

screen shot 2019-02-07 at 6 45 49 pmscreen shot 2019-02-07 at 6 46 24 pmscreen shot 2019-02-07 at 6 46 53 pmscreen shot 2019-02-07 at 6 48 06 pm

About

🚌 A mobile transit solution for the transportation agencies in the Bay Area

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •