Skip to content

Repository files navigation

DepartureBoard

Netlify Status "Buy Me A Coffee"

Welcome

This project is an angular website designed to present the UK and German train departures in a way similar to the led boards you find in stations accross the UK. For more info please see https://www.leddepartureboard.com

How to Use

  1. To change the station just modify the url. E.g http://your-site.com/EUS will show euston station times
  2. To change the amount of boards on the screen just add a number to the end. E.g http://your-site.com/EUS/12
  3. To view a platform style board just modify the url with a prefix of 'singleboard'. E.g http://your-site.com/singleboard/EUS

Working Example

To view a running example head over to https://www.leddepartureboard.com/EUS/12

Technology

  • Angular frontend using typescript as the scriping language.
  • C# asp.net core backend to retrieve the departure data.
  • Runs using dotnet core so is cross compatible accross operating systems.
  • Uses google firebase as the document storage and user authentication.

Run locally

  1. Make sure you have the following installed on your machine

  2. Clone this repository locally

    git clone https://github.com/benfl3713/DepartureBoard.git
    cd DepartureBoard
  3. Install dependencies

    cd DepartureBoardWeb/ClientApp
    npm install
  4. Create config.xml file inside DepartureBoardWeb, and put the following in, making sure to put your nationalrail tokens (See ConfigService.cs) in

    <Config>
      ... your config here ...
    </Config>
  5. Either use vscode and press F5 to run the application, or inside the DepartureBoardWeb folder run dotnet run

About

🚅 This Project allows a user to view live train times in the format of a station departure board

Topics

Resources

Code of conduct

Stars

56 stars

Watchers

1 watching

Forks

Sponsor this project

Used by

Contributors

Languages