{"id":18207614,"url":"https://github.com/rishn/Good-To-Go-API","last_synced_at":"2025-08-23T14:31:53.504Z","repository":{"id":259668834,"uuid":"874932378","full_name":"rishn/Good-To-Go-API","owner":"rishn","description":"Backend for Good to Go! Application, providing APIs for managing bookings, drivers, vehicles, real-time tracking, and role-based access.","archived":false,"fork":false,"pushed_at":"2025-08-03T15:47:48.000Z","size":81,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-03T17:34:41.522Z","etag":null,"topics":["api","booking-management","express","expressjs","jwt","jwt-authentication","logistics","mongodb","mongodb-atlas","mongoose","nodejs","real-time-notifications","role-based-access","role-based-access-control"],"latest_commit_sha":null,"homepage":"https://goodtogoapp.onrender.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rishn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-18T18:20:30.000Z","updated_at":"2025-08-03T15:47:52.000Z","dependencies_parsed_at":"2025-01-26T20:20:54.805Z","dependency_job_id":"fc249f9d-5a19-42e8-a58c-f50f05eb1c85","html_url":"https://github.com/rishn/Good-To-Go-API","commit_stats":null,"previous_names":["rishn/atlan-engineering-internship-task-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rishn/Good-To-Go-API","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishn%2FGood-To-Go-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishn%2FGood-To-Go-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishn%2FGood-To-Go-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishn%2FGood-To-Go-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rishn","download_url":"https://codeload.github.com/rishn/Good-To-Go-API/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishn%2FGood-To-Go-API/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271752100,"owners_count":24814745,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","booking-management","express","expressjs","jwt","jwt-authentication","logistics","mongodb","mongodb-atlas","mongoose","nodejs","real-time-notifications","role-based-access","role-based-access-control"],"created_at":"2024-11-03T13:03:42.345Z","updated_at":"2025-08-23T14:31:53.496Z","avatar_url":"https://github.com/rishn.png","language":"JavaScript","readme":"# Good to Go! - Backend\n\n## Overview\n\nGood 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.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/rishn/Good-To-Go/blob/main/public/background.png\" alt=\"Image\" width=\"700\" /\u003e\n\u003c/p\u003e\n\n### Deployed Link\n[View the live site here](https://goodtogoapp.onrender.com)\n\n### Demo Videos\n\n[Customer Demo Large](https://drive.google.com/file/d/11eqpj6rgl38MQGEf4spjDuZQw_aRzokh/view?usp=sharing)\n\nhttps://github.com/user-attachments/assets/a87174ba-3ad1-4c47-ab46-1c574c0c195f\n\n[Driver Demo Large](https://drive.google.com/file/d/1Db3AQhoqDR3Q75bCgTLdi2UCpIOQ1waO/view?usp=sharing)\n\nhttps://github.com/user-attachments/assets/7a257835-810a-418c-8ae9-90fb92b569e0\n\nhttps://github.com/user-attachments/assets/1cc1bea9-3bce-47c5-82b9-3e719c087c1a\n\nhttps://github.com/user-attachments/assets/e9fb5c29-4832-42d7-ba6e-caa8cc841269\n\n---\n\n## Challenge\n\nThe 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.\n\n---\n\n## Features\n\n### 1. Customers\n- **Manage Bookings**: Create, update, and cancel bookings.\n- **Real-time Notifications**: Get updates on driver assignments and movements.\n\n### 2. Drivers\n- **Receive Booking Requests**: Accept or reject bookings based on availability.\n- **Track Bookings**: View and manage active bookings and past history.\n\n### 3. Admins\n- **Analytics**: Monitor driver performance and platform activity.\n- **Driver \u0026 Vehicle Management**: View, update, and manage driver and vehicle data.\n- **Booking Management**: Full control over booking creation, modification, and deletion.\n\n---\n\n## Tech Stack\n\n- **Node.js \u0026 Express.js**: For handling API requests and routing.\n- **MongoDB**: NoSQL database for storing bookings, users, and driver data.\n- **JWT Authentication**: Used for secure access and route protection.\n- **Socket.IO**: For real-time notifications and driver tracking.\n- **Fuzzy Logic**: Implemented for price calculation based on distance, vehicle type, and weight.\n\n---\n\n## Screenshots\n\n### Finding Driver\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/rishn/Good-To-Go/blob/main/outputs/finding_driver.png\" alt=\"Finding Driver\" width=\"780\" /\u003e\n\u003c/p\u003e\n\n### Analytics Dashboard\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/rishn/Good-To-Go/blob/main/outputs/analytics.png\" alt=\"Analytics\" width=\"700\" /\u003e\n\u003c/p\u003e\n\n---\n\n## Documentation\n[Please find documentation about the project here](https://drive.google.com/file/d/1g1hRTB8srE38dhVV7SR0mOsBzyyiw6LT/view?usp=sharing)\n\n## Diagrams\n\n### ER Diagram\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/rishn/Good-To-Go/blob/main/diagrams/er_diagram.png\" alt=\"ER Diagram\" width=\"400\" /\u003e\n\u003c/p\u003e\n\n### Flow Diagram\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/rishn/Good-To-Go/blob/main/diagrams/flow_diagram.png\" alt=\"Flow Diagram\" width=\"400\" /\u003e\n\u003c/p\u003e\n\n### HL Diagram\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/rishn/Good-To-Go/blob/main/diagrams/hl_diagram.png\" alt=\"HL Diagram\" width=\"400\" /\u003e\n\u003c/p\u003e\n\n\n---\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishn%2FGood-To-Go-API","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frishn%2FGood-To-Go-API","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishn%2FGood-To-Go-API/lists"}