Skip to content

jtransit/route-planner

Repository files navigation

This project is under development

You may check it here: https://jtransit.github.io/route-planner/

JTransit Routes Planner

  1. What is JTransit Routes Planner?
  2. Features
  3. Libaries or Technology Used

What is JTransit Routes 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.

Features

  1. Plot Jeepney Routes via Leaflet Routing Machine
  2. Send Plotted Route for a specific Jeepney code to the back-end
  3. Modify an existing Jeepney Route
  4. Administrators may approve suggested routes provided by contributors
  5. Modify Fares
  6. TBD - Include buses

Libraries and Technologies Used

  1. React / Next.js 13 - For the user-interface
  2. Github Pages - For hosting the app front-end
  3. React Leaflet : 1.9.4 - For creating the map
  4. Leaflet Routing Machine : 3.2.12 - For connecting the markers and route creation

Scope

  1. Web application written in React
  2. Firebase as backend

Setting up Development Environment

  1. 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

  2. Run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:3000 with your browser to see the result.