Train Planner and Map

Personal Project

Web-based application for planning train routes and visualizing disruptions on a map, integrating real-time data from the NS API.

About the project


A train planner and disruption map built on the NS API. The Angular frontend plots current disruptions on a Leaflet map, where clicking one opens its details in a modal, and it plans journeys from a start and destination station with optional via stations. The .NET Core backend does the API calls and the processing, and default stations can be set so the planner starts from the station you use most. The layout works on desktop and on mobile.

Key features


  • Plan a journey with a start, a destination and optional via stations.
  • Current disruptions plotted on a Leaflet map.
  • Clicking a disruption opens the details in a modal.
  • .NET Core backend that queries and processes the NS API.
  • Works on desktop and mobile.
  • Loading indicators while data is being fetched.
  • Default stations can be set in the settings.