/react-tube-tracker

🚇 An isomorphic React app to check the arrival times of trains on the Tube (from 2014)

Primary LanguageJavaScript

Tube Tracker

This is a simple application to check the predicted arrival times of trains at stations on the London Underground network. It is built using React, Browserify and Jasmine with data from unified TfL API. The application was built in conjunction with my series "Building robust web apps with React":

  1. In-browser prototype (Download source code)
  2. Optimising for the browser (Download source code)
  3. Testing with Jasmine (Download source code)
  4. Server-side rendering (Download source code)

The project was originally built with React 0.12 but has since been updated to 0.13. I have no plans to continue updating the project but there is a separate ES6, Babel and Webpack port available for reference.

Dependencies

Installation and usage

  1. Clone or download this repository
  2. Install dependencies with npm install
  3. Copy the example config and enter your API credentials cp config.example.json config.json
  4. Run npm start or node server.js
  5. Open your browser and navigate to http://localhost:8080

Demo

You can test the demo in the your browser now. Please note this is running on a free service tier and is not always available.