This project provides a comprehensive map for public transport, built using React with TypeScript. The application leverages Leaflet for interactive map features and integrates various datasets, including information from the STIB (Société des Transports Intercommunaux de Bruxelles), to display routes, stops, and real-time vehicle positions. All data is sourced from the STIB Open Data portal: STIB Open Data Portal.
- Framework: React
- Language: TypeScript
- Build Tool: Vite
- Transpiler: SWC
-
Clone the Repository:
git clone https://github.com/your-repo/public-transport-map.git cd public-transport-map
-
Install Dependencies:
npm i
-
Start the Development Server:
npm run dev
Refer to the following documentation for detailed information on the tools and libraries used in this project:
- src/: Contains the source code for the project.
- components/: Reusable React components.
- assets/: Images, icons, and other static assets.
- types/: TypeScript type definitions.
- styles/: CSS and SCSS files for styling.
- Interactive Map: Uses Leaflet for displaying a dynamic, interactive map.
- Real-time Data: Displays real-time positions of public transport vehicles.
- Custom Markers: Custom icons for different types of transport.
- Routes and Stops: Visualizes routes and stops with detailed information.
Use Google Fonts for typography and ensure the project follows a consistent design language. Access Google Fonts here: Google Fonts
Contributions are welcome! Please follow the guidelines below:
- Fork the repository.
- Create a new branch for your feature or bugfix.
- Commit your changes and push the branch to your fork.
- Open a pull request to the main repository.
This project is licensed under the MIT License.