Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/incubated-geek-cc/sg-transportation

A realtime application which shows Bus Routes and Bus ETAs via LTA's API.
https://github.com/incubated-geek-cc/sg-transportation

bus-schedule bus-tracking nodejs realtime socket-io socket-programming

Last synced: 3 months ago
JSON representation

A realtime application which shows Bus Routes and Bus ETAs via LTA's API.

Awesome Lists containing this project

README

        


logo

# SG Bus Routes

**Bus route visualisation site built to aid me in an analytical task. ๐Ÿš The feature to enable realtime bus ETAs was only added later on a whim~**

**Interactive map visualisation of bus routes. Selectable origin-destination of bus journey and enables JSON data export.**


Bus stops, bus services and bus routes are called via [LTA's Public API](https://datamall.lta.gov.sg/content/datamall/en.html). Faster retrieval via [Redis](https://redis.com/) caching for in-memory storage. Realtime bus ETAs in Singapore can be displayed based on bus stop selected.

โœ๏ธ [**Article One :: Link :: Tackling Heroku H12 timeout errors of Node.js Web APIs โ€” Handling Long Response Times**](https://towardsdatascience.com/tackling-heroku-h12-timeout-errors-of-node-js-web-apis-handling-long-response-times-8fbafe46cd40)


โœ๏ธ [**Article Two:: Link :: Building a real-time web app in NodeJS Express with Socket.io library**](https://towardsdatascience.com/building-a-real-time-web-app-in-nodejs-express-with-socket-io-library-d9b50aded6e6)



[**Web App :: Link**](https://sg-transportation.glitch.me/) ย ย ย  [**Web App :: Backup Link**](https://sg-transportation.onrender.com)

## Features and Screenshots

Displays Realtime Bus ETAs: ๐Ÿ“ฑ Mobile & ๐Ÿ’ป ๐Ÿ–ฅ๏ธ Larger Screens



Enables Selection of Route Origin-Destination



Exports Bus Route as JSON data (based on earlier selections)



โ€” Join me on ๐Ÿ“ Medium at ~ ฮพ(๐ŸŽ€หถโ›โ—กโ›) @geek-cc

---

#### ๐ŸŒฎ Please buy me a Taco! ๐Ÿ˜‹

## ๐Ÿ“œ License

Data ยฉ [LTA](http://www.mytransport.sg/content/mytransport/home/dataMall/termOfUse.html) ยฉ [OneMap](https://www.onemap.sg/legal/termsofuse.html) ยฉ [OSM contributors](https://www.openstreetmap.org/copyright). Everything else: [MIT](http://cheeaun.mit-license.org/)

---
## โš ๏ธ Important Note: As of 12 Nov 2022, UI has been revamped with existing functionalities still in place.

Select Bus Service No. to render route


๐Ÿ“ฑ Mobile View


๐Ÿ’ป ๐Ÿ–ฅ๏ธ On Larger Screens:

Origin-Destination selection for data export



Bus Stop Realtime ETA



## Special Mention(s)
- Inspired by [BusrouterSG by cheeaun](https://github.com/cheeaun/busrouter-sg).