Given a specific bus stop, this web application can quickly consult the RTPI API, return real time information of all bus routes and display on the web page.
Technologies behind:
- Flask is used to do basic routing and rendering and request real time information from RTPI API;
- A MongoDB is working behind the scene and records all requests and client IP so far;
- AngularJS is employed to rendering JSON files of bus stops/route information for "search by route" service;
- It is hosted on IBM Bluemix using CloudFoundry Python buildpack;
-
09Nov2014: working on this app to make it work with Mongodb
-
10Nov2014: now this app is working with Mongodb
-
05FEB2015: complete "search by bus stop" service
-
22FEB2015: add "search by route" service
-
24FEB2015: start to work on "search on map" service
-
2MAR2015: rebuilt "search by route" service using AngularJS
This web app is using Flask microframework and built by Cloud Foundry buildpack for python, following Henrik's tutorial and based on a sample Python web application. Special thanks to this gist.