Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/incubated-geek-cc/sg-transportation
- Owner: incubated-geek-cc
- Created: 2021-07-15T07:52:17.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-21T18:00:21.000Z (about 1 year ago)
- Last Synced: 2023-12-21T19:56:33.102Z (about 1 year ago)
- Topics: bus-schedule, bus-tracking, nodejs, realtime, socket-io, socket-programming
- Language: JavaScript
- Homepage: https://sg-transportation.glitch.me/
- Size: 8.08 MB
- Stars: 18
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![]()
# 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).