Link: nikitas-project2.herokuapp.com Get bus stops nearby along with real time bus arrival data, on your phone on desktop.
Express on Node Mongoose on MongoDB Javascript and Jquery Bootstrap
APIs
- LTA Transport Data
- Google Maps
- Navigator.geolocation webapi
- Web Speech webapi
Packages: Handlebars, Moment, bcrypt, request-promise-native etc
To run locally, get API keys and add to env
Installation
- Install yarn/npm
- Run yarn init
- Yarn add all – to install all dependencies found in package.json file
- Restore from collection hosted here: stops.bson OR run ‘/load/stops’ which will load bus stops from API
-
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.
-
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.
(‘/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)
Many thanks to Alex and Prima for tireless help in the project.
- Store location in session, and clear with set my location button. So between toggling pages, the data persists in a session
- Saved bus stops - show on dashboard(home) even if not nearby (reference for route planning)
- Saved buses - show on dashboard(home) if its stop is available nearby
- Show all saved stops and buses, with ability to remove
- Add search for bus or stop with voice support
- More voice commands supported