https://github.com/benfl3713/DepartureBoard
🚅 This Project allows a user to view live train times in the format of a station departure board
https://github.com/benfl3713/DepartureBoard
departure-board departure-times departureboard departures station timetable trains transport
Last synced: about 1 month ago
JSON representation
🚅 This Project allows a user to view live train times in the format of a station departure board
- Host: GitHub
- URL: https://github.com/benfl3713/DepartureBoard
- Owner: benfl3713
- License: apache-2.0
- Created: 2019-10-04T12:17:36.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-03-04T21:23:12.000Z (about 1 month ago)
- Last Synced: 2025-03-04T22:27:09.662Z (about 1 month ago)
- Topics: departure-board, departure-times, departureboard, departures, station, timetable, trains, transport
- Language: CSS
- Homepage: https://www.leddepartureboard.com
- Size: 21.1 MB
- Stars: 34
- Watchers: 2
- Forks: 4
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
- starred - benfl3713/DepartureBoard - 🚅 This Project allows a user to view live train times in the format of a station departure board (CSS)
README
# DepartureBoard

[](https://app.netlify.com/sites/leddepartureboardcom/deploys)
[](https://www.buymeacoffee.com/departureboard)# 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

# 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
# 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.# Docker
This project is also build into a docker image every time we merge to master. This means you can run this website very easiy simply by runnning the command
```docker run -p 8080:80 -e "RealTimeTrainsToken=[INSERT_REALTIMETRAINS_TOKEN_HERE]" benfl3713/departure-board```
This will run the website on port 8080 of the hostThere is also a docker-compose file in this repository that will make it easier to spin up the website with the command
`docker-compose up`# Run locally
1. Make sure you have the following installed on your machine
- [node.js](https://nodejs.org/en/download/)
- [dotnet 6.0 sdk](https://dotnet.microsoft.com/download/dotnet/6.0)2. Clone this repository locally
```bash
git clone https://github.com/benfl3713/DepartureBoard.git
cd DepartureBoard
```
3. Install dependencies
```bash
cd DepartureBoardWeb/ClientApp
npm install
```
4. Create config.xml file inside DepartureBoardWeb, and put the following in, making sure to put you [realtimetrains token](https://api.rtt.io/) in
```xml
[INSERT_REALTIMETRAINS_TOKEN_HERE]
```
5. Either use vscode and press `F5` to run the application, or inside the **DepartureBoardWeb** folder run `dotnet run`