Skip to content

Backend for Good to Go! Application, providing APIs for managing bookings, drivers, vehicles, real-time tracking, and role-based access.

Notifications You must be signed in to change notification settings

rishn/Good-To-Go-API

Repository files navigation

Good to Go! - Backend

Overview

Good to Go! backend is built to handle complex logistics operations like booking management, driver assignments, and real-time tracking. It is designed for scalability and handling several requests. The backend includes role-based access for customers, drivers, and admins.

Image

Deployed Link

View the live site here

Demo Videos

Customer Demo Large

Customer.Demo.Small.mp4

Driver Demo Large

Driver.Demo.Small.mp4
Admin.Demo.mp4
Location.Access.mp4

Challenge

The backend needed to handle real-time updates for both driver and booking management, including GPS tracking and notifications. The goal was to design a scalable API that supports JWT authentication and secure data management.


Features

1. Customers

  • Manage Bookings: Create, update, and cancel bookings.
  • Real-time Notifications: Get updates on driver assignments and movements.

2. Drivers

  • Receive Booking Requests: Accept or reject bookings based on availability.
  • Track Bookings: View and manage active bookings and past history.

3. Admins

  • Analytics: Monitor driver performance and platform activity.
  • Driver & Vehicle Management: View, update, and manage driver and vehicle data.
  • Booking Management: Full control over booking creation, modification, and deletion.

Tech Stack

  • Node.js & Express.js: For handling API requests and routing.
  • MongoDB: NoSQL database for storing bookings, users, and driver data.
  • JWT Authentication: Used for secure access and route protection.
  • Socket.IO: For real-time notifications and driver tracking.
  • Fuzzy Logic: Implemented for price calculation based on distance, vehicle type, and weight.

Screenshots

Finding Driver

Finding Driver

Analytics Dashboard

Analytics


Documentation

Please find documentation about the project here

Diagrams

ER Diagram

ER Diagram

Flow Diagram

Flow Diagram

HL Diagram

HL Diagram