Giter Site home page Giter Site logo

2-am-zzz / last-stop Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 2.0 21.61 MB

A DevBootcamp final project focusing on alerting users of the time of the last bus/train/BART to arrive.

License: MIT License

Ruby 2.09% HTML 0.25% JavaScript 97.56% CSS 0.09%

last-stop's Introduction

Last-Stop

A DevBootcamp final project focusing on alerting users of the time of the last bus/train/BART to arrive.

Presentation:

http://last-stop-presentation.surge.sh/

Authored by:

  • Cyrus Vattes (@cyvattes)
  • Thomas Huang (@tmashuang)
  • Kevin Serrano (@Zanibas)
  • Ronu Ghoshal (@RonuGhoshal)

Special Thanks to:

  • Nathan Park (@nathanmpark)

  • Amir Fayek (@afayek1)

  • DBC Phase 3, 2016 Sea Lions

MVP

  • 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.

Tech Stack

  • 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

Team Dynamics

Schedule

9am - 9pm (very flexible)

Lunch

1hr < t < 1.5hrs

StandUps

  1. 9am
  2. 2pm
  3. 6pm

Questions Asked

  • How are they doing?
  • What did they do from yesterday?
  • What are they working on today?
  • Current roadblocks
  • ASK feedback, 360 feedback

Slice/Pairing

  • 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.

Setup

Mac OSX

  • brew update && brew upgrade ruby-build
  • rbenv install 2.2.3
  • gem install bundle
  • bundle
  • npm install
  • npm run build
  • npm start

Database Update Procedure

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); });

last-stop's People

Contributors

dapperkangaroo avatar 2-am-zzz avatar ronughoshal avatar

Stargazers

Ming-der Wang avatar Ilaria Varriale avatar CK Vattes avatar Thomas Huang avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.