Skip to content

poghdev/France-Transit-Tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

France Transit Tracker 🚆

A real-time geospatial web application to visualize railway stations across France and monitor live train schedules.

Features

  • 🗺️ Interactive Map: Visualizes stations using Leaflet.js with clustering for performance.
  • 🔍 Search: Find stations by city name.
  • 🕒 Live Data: Real-time train departure information powered by the SNCF Open Data API.
  • 🐳 Dockerized: Easy deployment with Docker Compose.

Tech Stack

  • Frontend: HTML5, Tailwind CSS, Leaflet.js
  • Backend: Python, FastAPI
  • Infrastructure: Docker, Nginx

How to Run

Prerequisites

  • Docker & Docker Compose
  • SNCF API Key

Steps

  1. Clone the repository.
  2. Create a .env file in the root directory:
    SNCF_API_KEY=your_sncf_api_key_here
  3. Build and run the containers:
    docker-compose up --build
  4. Open your browser:

Author

Created by PoghDev.

About

A FastAPI and Leaflet JS fullstack app for real-time French railway mapping. It integrates SNCF API data to display interactive station clusters, technical metadata, and live departure boards in a responsive interface.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors