A real-time geospatial web application to visualize railway stations across France and monitor live train schedules.
- 🗺️ 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.
- Frontend: HTML5, Tailwind CSS, Leaflet.js
- Backend: Python, FastAPI
- Infrastructure: Docker, Nginx
- Docker & Docker Compose
- SNCF API Key
- Clone the repository.
- Create a
.envfile in the root directory:SNCF_API_KEY=your_sncf_api_key_here
- Build and run the containers:
docker-compose up --build
- Open your browser:
- App: http://localhost:8080
- API Docs: http://localhost:8000/docs
Created by PoghDev.