{"id":25043316,"url":"https://github.com/bhuvantenguria/car-rental-system","last_synced_at":"2025-03-30T23:24:55.978Z","repository":{"id":275545899,"uuid":"926402177","full_name":"Bhuvantenguria/Car-Rental-System","owner":"Bhuvantenguria","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-03T07:29:48.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-03T08:29:01.660Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/Bhuvantenguria.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":"2025-02-03T07:25:43.000Z","updated_at":"2025-02-03T07:29:51.000Z","dependencies_parsed_at":"2025-02-03T08:30:01.379Z","dependency_job_id":"c0591457-7031-4ade-a0c4-d880bcf1e86e","html_url":"https://github.com/Bhuvantenguria/Car-Rental-System","commit_stats":null,"previous_names":["bhuvantenguria/car-rental-system"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bhuvantenguria%2FCar-Rental-System","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bhuvantenguria%2FCar-Rental-System/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bhuvantenguria%2FCar-Rental-System/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bhuvantenguria%2FCar-Rental-System/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bhuvantenguria","download_url":"https://codeload.github.com/Bhuvantenguria/Car-Rental-System/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246393278,"owners_count":20769906,"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":[],"created_at":"2025-02-06T04:54:09.691Z","updated_at":"2025-03-30T23:24:55.962Z","avatar_url":"https://github.com/Bhuvantenguria.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚗 Car Rental System  \n_A Simple Java Console-Based Car Rental System_  \n\n![Car Rental](https://media.giphy.com/media/3o7abldj0b3rxrZUxW/giphy.gif)  \n\n## 📌 Overview  \nThe **Car Rental System** is a Java-based console application that allows users to:  \n✔️ Rent a car from a list of available cars.  \n✔️ Return a rented car.  \n✔️ View total rental cost before confirming.  \n\n## 🛠️ Features  \n🔹 **Car Management** – Add and list cars with their details.  \n🔹 **Customer Handling** – Register customers dynamically.  \n🔹 **Rental Processing** – Rent and return cars with availability tracking.  \n🔹 **Pricing System** – Calculate rental costs based on duration.  \n🔹 **Interactive CLI** – User-friendly console interface.  \n\n## 📂 Project Structure  \n```\n📦 Car Rental System\n ┣ 📜 Main.java          # Entry point for the application\n ┣ 📜 Car.java           # Car class with rental logic\n ┣ 📜 Customer.java      # Customer information storage\n ┣ 📜 Rental.java        # Rental transaction details\n ┣ 📜 CarRentalSystem.java # Core functionality (rental, return, menu)\n```\n\n## 🚀 Installation \u0026 Usage  \n1️⃣ Clone the repository:  \n```bash\ngit clone https://github.com/your-username/Car-Rental-System.git\ncd Car-Rental-System\n```\n2️⃣ Compile and run the project:  \n```bash\njavac Main.java\njava Main\n```\n3️⃣ Follow the on-screen menu options to rent/return cars.  \n\n## 🎥 Demo  \n📌 Sample Output:  \n```\n===== Car Rental System =====\n1. Rent a Car\n2. Return a Car\n3. Exit\nEnter your choice: 1\n\n== Rent a Car ==\nEnter your name: Alex\nAvailable Cars:\nC001 - Toyota Camry\nC002 - Honda Accord\n\nEnter the car ID you want to rent: C001\nEnter the number of days for rental: 3\n\n== Rental Information ==\nCustomer ID: CUS1\nCustomer Name: Alex\nCar: Toyota Camry\nRental Days: 3\nTotal Price: $180.00\nConfirm rental (Y/N): Y\n\nCar rented successfully.\n```\n\n## 🛠️ Technologies Used  \n🔹 **Java** – Core programming language  \n🔹 **OOP Concepts** – Encapsulation, Polymorphism  \n🔹 **Scanner Class** – User input handling  \n\n## 🏆 Future Enhancements  \n✅ GUI-based version with JavaFX  \n✅ Online database for rental tracking  \n✅ Advanced pricing models with discounts  \n\n## 📜 License  \n📝 MIT License – Free to use and modify.  \n\n👨‍💻 Developed by **Bhuvan Tenguria** 🎯  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbhuvantenguria%2Fcar-rental-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbhuvantenguria%2Fcar-rental-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbhuvantenguria%2Fcar-rental-system/lists"}