Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚗 Spinny - Car Renting System

Welcome to Spinny, a Java-based Car Renting System that allows users to rent cars for a specified number of days and return them with ease! This application simplifies the car rental process for both customers and administrators.

✨ Features

  • 🛠️ User-Friendly Menu: Interactive menu to rent and return cars.
  • 🚘 Car Management: Browse available cars and check car details like brand, model, and price per day.
  • 📅 Rental System: Rent cars for a specific number of days, with total price calculation.
  • 🔄 Return Cars: Use the car ID to return the rented car.
  • 🧾 Customer Records: Automatic customer ID generation and rental tracking.

🚀 How to Run

Step 1:

Clone the repository:

git clone https://github.com/yourusername/spinny-car-renting-system.git

Step 2:

Navigate to the project directory::

cd spinny-car-renting-system

Step 3:

Compile and run the project:

javac Main.java
java Main

🛠️ Example Usage

  • Add Cars: Several car models, including Toyota Fortuner, BMW 520D, and Tata Altroz, are preloaded into the system.
  • Rent a Car: Input your name, select a car from the list, and specify the number of rental days to rent a car.
  • Return a Car: Use the car ID to return the rented car.

💻 Tech Stack

  • Java for application logic.
  • ArrayList for managing cars, customers, and rentals.

🎮 Demo

Rent a Car:

  • Browse available cars.
  • Choose a car by entering its car ID.
  • Confirm the rental duration, and the system will calculate the total price based on the car's price per day.

Return a Car:

  • Return the car by entering the car ID.
  • The system will verify and mark the car as available again.

🎯 Future Enhancements

  • 🖥️ Implement a graphical user interface (GUI).
  • 🔐 Add user authentication and profile management.
  • 💾 Connect to a database for better data persistence.

About

Welcome to Spinny, a Java-based Car Renting System that allows users to rent cars for a specified number of days and return them with ease! This application simplifies the car rental process for both customers and administrators.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages