{"id":25328478,"url":"https://github.com/rafaybbx/food-delivery-system","last_synced_at":"2025-04-08T02:49:52.118Z","repository":{"id":276192886,"uuid":"928527447","full_name":"rafaybbx/food-delivery-system","owner":"rafaybbx","description":"A C++ based food delivery system that optimizes delivery routes using Dijkstra's algorithm.","archived":false,"fork":false,"pushed_at":"2025-02-06T19:23:30.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T02:37:36.271Z","etag":null,"topics":["cpp","data-structures","dijkstra-algorithm","food-delivery-application","linked","queue"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rafaybbx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2025-02-06T19:21:00.000Z","updated_at":"2025-02-06T19:25:08.000Z","dependencies_parsed_at":"2025-02-06T20:30:19.613Z","dependency_job_id":"a76a2ee2-a30c-44bc-9f82-8b8ef138fcdc","html_url":"https://github.com/rafaybbx/food-delivery-system","commit_stats":null,"previous_names":["rafaybbx/food-delivery-system"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaybbx%2Ffood-delivery-system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaybbx%2Ffood-delivery-system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaybbx%2Ffood-delivery-system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaybbx%2Ffood-delivery-system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rafaybbx","download_url":"https://codeload.github.com/rafaybbx/food-delivery-system/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247767253,"owners_count":20992541,"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","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":["cpp","data-structures","dijkstra-algorithm","food-delivery-application","linked","queue"],"created_at":"2025-02-14T02:33:42.330Z","updated_at":"2025-04-08T02:49:52.097Z","avatar_url":"https://github.com/rafaybbx.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Food Delivery System\nA **C++ based food delivery system** that optimizes delivery routes using **Dijkstra's algorithm**. Built with an **object-oriented programming (OOP) approach**, the system features a **command-line interface (CLI)** and provides dedicated functionalities for **users, riders, and administrators** to efficiently manage food delivery operations.\n\n\n\n\n## Features\n\n### User Interface\n- User registration and login system\n- Restaurant selection from multiple options:\n  - Cheezious\n  - Pizza Hut\n  - KFC\n  - Hardees\n  - McDonald's\n- Real-time order placement\n- Location-based delivery tracking\n- Multiple restaurant selection in a single order\n\n### Rider Interface\n- Rider registration and login\n- Order queue management\n- Optimized delivery route visualization\n- Real-time order status updates\n- Current location tracking\n\n### Admin Interface\n- Admin registration and login\n- User management (view/remove users)\n- Rider management (view/remove riders)\n- System oversight capabilities\n\n### Route Optimization\n- Implements Dijkstra's algorithm for shortest path finding\n- Optimizes routes between:\n  - Rider to restaurants\n  - Restaurants to user location\n- Handles multiple pickup locations efficiently\n- Coverage across different sectors (G-10, F-10, E-10)\n\n## Technical Implementation\n\n### Data Structures Used\n- Linked Lists (for user, rider, and admin management)\n- Queue (for order management)\n- Arrays and Matrices (for location mapping)\n- Graph (for route optimization)\n\n### Location System\nCovers 10 different locations across Islamabad:\n- G-10/1 to G-10/4\n- F-10/1 to F-10/4\n- E-10/1 to E-10/2\n\n### Security Features\n- Password-protected accounts\n- Unique IDs for users, riders, and admins\n- Session management\n## Installation\n\n### Prerequisites\n- C++ compiler (GCC recommended)\n- Git (for cloning the repository)\n- Terminal/Console access\n\n### Steps to Run\n\n1. Clone the repository \n\n```bash\ngit clone https://github.com/rafaybbx/food-delivery-system.git\n```\n\n2. Navigate to the project directory\n\n```bash\ncd food-delivery-system\n```\n\n3. Compile the program\n\n```bash\ng++ main.cpp -o ood_delivery\n```\n4. Run the executable\n```bash\n./food_delivery # For Linux/Mac\nfood_delivery.exe # For Windows\n```\n## How to Use\n\n1. Run the program and select from the main menu:\n   - Signup\n   - Login\n   - Exit\n\n2. Based on your role (User/Rider/Admin), log in with credentials\n\n3. For Users:\n   - Select restaurants\n   - Choose delivery location\n   - Place order\n   - Track delivery\n\n4. For Riders:\n   - View assigned orders\n   - Follow optimized delivery routes\n   - Complete deliveries\n\n5. For Admins:\n   - Manage users and riders\n   - System oversight\n\n## Technical Requirements\n\n- C++ compiler\n- Standard Template Library (STL)\n- Minimum 512MB RAM\n- Terminal/Console support\n\n## Troubleshooting\n\nCommon issues and solutions:\n\n1. Compilation errors:\n   - Ensure you have a C++ compiler installed\n   - Check if all required headers are available\n   - Verify file paths are correct\n\n2. Runtime errors:\n   - Check input format matches requirements\n   - Verify sufficient system memory\n   - Ensure proper permissions for file operations\n\n3. Display issues:\n   - Adjust console window size\n   - Check terminal compatibility\n   - Verify character encoding\n\n## Future Improvements\n\n- Payment system integration\n- Real-time GPS tracking\n- Restaurant partner portal\n- Rating system\n- Order history tracking\n- Multiple simultaneous orders handling\n\n## Contributing\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n## Contributors\n\nAbdul Rafay(rafybbx)\n\n## License\n\nThis project is licensed under the **MIT License**. See the [LICENSE](LICENSE) file for details.  \n\n## Acknowledgments\n\n- CSC211 Data Structures and Algorithms (CUI)\n- Graph theory concepts\n- C++ Standard Template Library\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafaybbx%2Ffood-delivery-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frafaybbx%2Ffood-delivery-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafaybbx%2Ffood-delivery-system/lists"}