Skip to content

A map that shows the delays and position of belgian trains.

License

Notifications You must be signed in to change notification settings

Robbe7730/DelayMap

Repository files navigation

DelayMap

Frontend (latest) Frontend (release) Backend

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

Running the frontend

  1. Make sure the API is running
  2. Create a config file in static/config.json (or add it to dist 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",
}
  1. Start the frontend by running npm run dev
  2. Go to https://localhost:8080/