This is primarily a demo app that uses the freely available CTA Bustracker API to allow users to see bus arrival predictions for specific routes and stops. It uses data provided by the CTA, and thus is as accurate (or inaccurate) as the provided data.
Ruby HTML CSS JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
config
db
doc
lib
log
public
script
spec
vendor
.gitignore
.rspec
.ruby-gemset
.ruby-version
.travis.yml
Gemfile
Gemfile.lock
MIT-LICENSE
Procfile
README.rdoc
Rakefile
app.json
config.ru

README.rdoc

Build Status Coverage Status Dependency Status

Welcome to CTATracker

This is primarily a demo app that uses the freely available CTA Bustracker API to allow users to see bus arrival predictions for specific routes and stops. It uses data provided by the CTA, and thus is as accurate (or inaccurate) as the provided data.

Requirements

This Ruby on Rails app requires you request your own CTA API key. For local development you add it to the /config/heroku_env.rb file as shown here:

ENV = 'mysupersecretkey'

If you deploy to Heroku, you use the ENV varible as described here: devcenter.heroku.com/articles/config-vars

Ex. heroku config:add CTA_API_KEY=mysupersecretkey

Working Example

You can see this code running on Heroku at: bustimes.herokuapp.com