{"id":30188761,"url":"https://github.com/abynxv/ride-sharing-api","last_synced_at":"2026-05-15T22:39:32.232Z","repository":{"id":309011247,"uuid":"1033209733","full_name":"abynxv/Ride-Sharing-API","owner":"abynxv","description":"A backend API built with Django Rest Framework for ride-sharing applications. The system enables riders to request rides and drivers to manage ride requests through a comprehensive REST API.","archived":false,"fork":false,"pushed_at":"2025-08-19T06:57:00.000Z","size":67,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"featured","last_synced_at":"2025-08-31T20:55:18.073Z","etag":null,"topics":["celery","celerybeat","django","django-rest-framework","djangorestframework-simplejwt","haversine-distance","modelviewset","python3","redis","viewsets"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abynxv.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-06T13:13:22.000Z","updated_at":"2025-08-19T06:57:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"44e09379-18cc-4da8-8f24-236ad5040078","html_url":"https://github.com/abynxv/Ride-Sharing-API","commit_stats":null,"previous_names":["abynxv/ride-sharing-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/abynxv/Ride-Sharing-API","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abynxv%2FRide-Sharing-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abynxv%2FRide-Sharing-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abynxv%2FRide-Sharing-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abynxv%2FRide-Sharing-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abynxv","download_url":"https://codeload.github.com/abynxv/Ride-Sharing-API/tar.gz/refs/heads/featured","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abynxv%2FRide-Sharing-API/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33082186,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T20:25:35.270Z","status":"ssl_error","status_checked_at":"2026-05-15T20:25:34.732Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["celery","celerybeat","django","django-rest-framework","djangorestframework-simplejwt","haversine-distance","modelviewset","python3","redis","viewsets"],"created_at":"2025-08-12T17:50:16.085Z","updated_at":"2026-05-15T22:39:32.227Z","avatar_url":"https://github.com/abynxv.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e ## Development Status\n\nThis branch contains ongoing development for real-time ride tracking,matching ride requests and permission classes. Updates and implementations are in progress.\n\n## API Endpoints\n\n## Rider Endpoints\n```bash\n/api/rider/rides/\tGET -\tList all rides requested by the rider\n/api/rider/rides/\tPOST -\tCreate a new ride request (Only if there is no active rides)\n/api/rider/rides/{id}/\tGET -\tRetrieve details of a specific ride\n/api/rider/rides/{id}/\tPUT/PATCH\t- Update ride info (only if status is 'requested')\n/api/rider/rides/{id}/cancel-ride/ - POST\tCancel a ride (only if status is 'requested' or 'accepted')\n/api/rider/rides/{id}/track-ride/\tGET\t- Get current ride status and driver location\n```\n\u003cimg width=\"1073\" height=\"672\" alt=\"image\" src=\"https://github.com/user-attachments/assets/3dc18d3d-44fa-4266-897d-a27b534ca33b\" /\u003e\n\n## Driver Endpoints\n```bash\napi/driver/rides/ — List available ride requests nearby\napi/driver/rides/{id}/accept-ride/ — Accept a ride request\napi/driver/rides/{id}/update_status/ — Update the ride status\napi/driver/update-location/ — Update driver’s current location (no ride ID needed)\napi/driver/rides/assigned-rides/ — List all rides assigned to the driver\napi/driver/rides/{id}/assigned-ride-detail/ — Get details of a specific assigned ride\n```\n\u003cimg width=\"1073\" height=\"543\" alt=\"image\" src=\"https://github.com/user-attachments/assets/4307c3ea-0e0c-4b03-b3b1-45e6e5bfae2a\" /\u003e\n\n## Real-time Ride Tracking with Celery\n\nTo enable real-time ride tracking simulation in this project, you need to run both **Celery worker** and **Celery beat scheduler**. Celery worker executes asynchronous tasks, while Celery beat schedules periodic tasks, such as updating ride locations every few seconds.\n\n### Running Celery and Celery Beat\n\nUse the following commands in separate terminal windows:\n\n```bash\n# Start Celery worker\ncelery -A ride_sharing_api worker --loglevel=info\n```\n\u003cimg width=\"1256\" height=\"626\" alt=\"Screenshot from 2025-08-11 01-33-10\" src=\"https://github.com/user-attachments/assets/1c05eec9-7b6a-4fad-a83a-14b451c63c75\" /\u003e\n\n```bash\n# Start Celery beat scheduler\ncelery -A ride_sharing_api beat --loglevel=info\n```\n\u003cimg width=\"1256\" height=\"626\" alt=\"Screenshot from 2025-08-11 01-32-55\" src=\"https://github.com/user-attachments/assets/7c994c3a-a630-42de-a24f-1f87eddca4bd\" /\u003e\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabynxv%2Fride-sharing-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabynxv%2Fride-sharing-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabynxv%2Fride-sharing-api/lists"}