The SimpleBus server.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
Procfile
README.md
requirements.txt
start.py

README.md

simplebus-server

Server component of simplebus.

View the client repo here

Ready for deployment straight to heroku (or anything else that's similar, try it out and see!). Just add your Translink API key, and you're ready to go!

But why? Can't you just make the calls straight from the client?

Unfortunately, because Translink hasn't yet added CORS support, browsers won't actually let you make a call to the Translink API straight from the client. As such, this server basically acts as a proxy.