A DevBootcamp final project focusing on alerting users of the time of the last bus/train/BART to arrive.
http://last-stop-presentation.surge.sh/
- Cyrus Vattes (@cyvattes)
- Thomas Huang (@tmashuang)
- Kevin Serrano (@Zanibas)
- Ronu Ghoshal (@RonuGhoshal)
-
Nathan Park (@nathanmpark)
-
Amir Fayek (@afayek1)
-
DBC Phase 3, 2016 Sea Lions
- A user can see the Front page, which has multiple sections for each transit agency with stops nearby.
- A user can see that each section will have the remaining time left until the last train or bus leaves for each nearby line for each nearby stop.
- The user's current location should be used as the reference point for finding the closest stations.
- Rails API backend
- Mongoid MongoDB driver
- mLab for our database solution and hosting MongoDB
- Heroku for hosting
- GoDaddy for our domain name
- React Frontend
- Bootstrap CSS Framework
- SFMTA, AC Trans, BART, and Caltrain Datasets
9am - 9pm (very flexible)
1hr < t < 1.5hrs
- 9am
- 2pm
- 6pm
- How are they doing?
- What did they do from yesterday?
- What are they working on today?
- Current roadblocks
- ASK feedback, 360 feedback
- Two Pairs of Two
- Pair that created PR does not merge their own PR.
- Pair swap for merge to fix and solve merge conflicts.
- Branch for each feature.
- brew update && brew upgrade ruby-build
- rbenv install 2.2.3
- gem install bundle
- bundle
- npm install
- npm run build
- npm start
mongoimport -h <host> -d last-stop -c <collection> -u <user> -p <password> --file <input .csv file> --type csv --headerline
mongo <host> -u <dbuser> -p <dbpassword>
db.stops.ensureIndex({loc:"2d"});
db.stops.find().batchSize(20).forEach( function(r) { r.loc = [r.stop_lat, r.stop_lon]; db.stops.save(r); });