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 and the TrackerNet API from TfL. The application is being built in conjunction with my series "Building robust web apps with React":
- In-browser prototype (Download source code)
- Optimising for the browser (Download source code)
- Testing with Jasmine (Download source code)
- Server-side rendering (Download source code)
- Clone or download this repository
- Install dependencies with
npm install
- Copy the example config and enter your API credentials
cp config.example.json config.json
- Run
npm start
ornode server.js
- Open your browser and navigate to
http://localhost:8080
You can test the demo in the your browser now.