You may check it here: https://jtransit.github.io/route-planner/
JTransit Route Plotter is an app used to map out Jeepney routes in Cebu City, Philippines. This will be mainly used to supply suggested routes in the Android application JTransit. The aim is to provide an application for the users/administrators to suggest/create jeepney routes. Due to the nature of jeepney routes changing frequently with no notice, crowdsourcing the data is the most efficient solution to keep these routes up to date.
- Plot Jeepney Routes via Leaflet Routing Machine
- Send Plotted Route for a specific Jeepney code to the back-end
- Modify an existing Jeepney Route
- Administrators may approve suggested routes provided by contributors
- Modify Fares
- TBD - Include buses
- React / Next.js 13 - For the user-interface
- Github Pages - For hosting the app front-end
- React Leaflet : 1.9.4 - For creating the map
- Leaflet Routing Machine : 3.2.12 - For connecting the markers and route creation
- Web application written in React
- Firebase as backend
-
Create an
.env
file using the.env.template
(supply the necessary values) NOTE: You'll need to setup a Mapbox API and generate the token -
Run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:3000 with your browser to see the result.