A map that shows the delays and position of Belgian trains.
Currently running at https://delaymap.robbevanherck.be/.
The API can be found at https://github.com/Robbe7730/DelayMapI
- Make sure the API is running
- Create a config file in
static/config.json
(or add it todist
after packaging) with the following content:
{
"API_URL": "http://localhost:8000",
"DEFAULT_CENTER_X": 50.502,
"DEFAULT_CENTER_Y": 4.335,
"DEFAULT_ZOOM": 8
"MT_KEY": "Your_Maptiler_Key",
}
- Start the frontend by running
npm run dev
- Go to https://localhost:8080/