Git Product home page Git Product logo

bus-when's Introduction

Bus When

Link: nikitas-project2.herokuapp.com Get bus stops nearby along with real time bus arrival data, on your phone on desktop.

Flowchart

project-2

Tech Stack:

Express on Node Mongoose on MongoDB Javascript and Jquery Bootstrap

APIs

Packages: Handlebars, Moment, bcrypt, request-promise-native etc

Getting Started

To run locally, get API keys and add to env

  1. Transport API
  2. Google Maps API (optional)

Installation

  1. Install yarn/npm
  2. Run yarn init
  3. Yarn add all – to install all dependencies found in package.json file
  4. Restore from collection hosted here: stops.bson OR run ‘/load/stops’ which will load bus stops from API

User Stories

  1. As a busy student, I want to check bus timings on stop near my place so I can plan my route on the go. E.g. Do I take bus 5 to GA from Eunos Link or 8/22 to MRT from bedok Reservoir Road.

  2. As a busy commuter, I want to use my voice to check bus timings instead of tapping commands on the phone as I’m gathering my things to save time and leave quickly.

Workflow

ERD

ERD

Wireframes

Authentication

App

Routes

(‘/home’)
GET /
POST /

('/login')
Get /
Post /

('/register')
Get /
Post /

('stop/:code')
GET /

('/load/stops')
GET /
('/load/serviceFromRoutes')
GET / (Phase 2)

('/save/stops/:code')
GET /
('/save/bus/:code’)
GET / (Phase 2)

Acknowledgments

Many thanks to Alex and Prima for tireless help in the project.

Phase 2

  1. Store location in session, and clear with set my location button. So between toggling pages, the data persists in a session
  2. Saved bus stops - show on dashboard(home) even if not nearby (reference for route planning)
  3. Saved buses - show on dashboard(home) if its stop is available nearby
  4. Show all saved stops and buses, with ability to remove
  5. Add search for bus or stop with voice support
  6. More voice commands supported

bus-when's People

Contributors

jeremiahalex avatar nikitas89 avatar primaulia avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

aaromalchekavar

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.