Skip to content

OutdatedGuy/Sem-5-PBL-Code

Repository files navigation

Taxi Management System

A PBL (Project Based Learning) project for the course DBE (Database Engineering) at Kolhapur Institute of Technology.
A simple Taxi Management System.

Features:

  • User and Driver Registration.
  • User can book a trip and Driver can accept the booking.
  • User and Driver can view his/her booked/accepted trips.
  • Driver can view the available trips along with the distance and fare.
  • User can see the Driver's details when he/she accepts the booking.

Technical Details:

  • Frontend: Bootstrap, HTML, CSS, JavaScript
  • Backend: NodeJS, ExpressJS
  • Database: MySQL

Requirements:

Database:

  • Name: taxi_management_system
  • Tables:
    • user
    • driver
    • admin
    • taxi
    • trip

Database Schema:

  • user:
    image

  • driver:
    image

  • admin:
    image

  • taxi:
    image

  • trip:
    image

Dependencies:

  • express
  • mysql
  • nodemon

How to Run:

Application Pages:

Our APIs:

  • Registration:

    • User: /api/registration/user
    • Driver: /api/registration/driver
  • Login: /api/login/:role

  • Session-End: /api/session-end/:role

  • Credentials: /api/credentials/:role

  • Admin Queries:

    • User: /api/query/user
    • Driver: /api/query/driver
    • Trip: /api/query/trip
    • Custom: /api/query/custom
  • Trip:

    • Booking: /api/trip/booking
    • History: /api/trip/history/:role
    • Accepting: /api/trip/accepting
    • Available: /api/trip/available