Bay Pass - A mobile transit solution
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.
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:
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.
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