Skip to content

The Car Rental Service application features two roles: admin and user. Admins can perform CRUD operations on cars, generate detailed reports, while users can easily book and cancel car rentals, and search for available cars based on seating capacity and dates. This user-friendly functionality enhances the overall car rental experience.

Notifications You must be signed in to change notification settings

Ankush-Nmurthy/Car-Rental-Service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

CAR RENTAL SERVICES

Car-Rental-Services-2

Introduction

The CAR-RENTAL-SERVICES is a console-based project that simplifies car rental operations for administrators and customers. Administrators can manage cars and generate reports, while customers can register, browse cars, and book rentals. Overall, it enhances efficiency and convenience in the car rental process.

Key Features:

  • Customers operations:

    • Register customer account: Customers can create their accounts to access the car rental service and enjoy personalized features.
    • View all available cars: Customers can browse through a list of cars that are available for rent.
    • Search cars: Customers can search for specific cars based on their preferences, such as model, brand, or price range.
    • Book cars: Customers can reserve a car for a specific date and time, ensuring its availability for their desired rental period.
    • Delete booking: Customers have the option to cancel a booking if their plans change or if they no longer require the rental.
    • View all bookings and transactions: Customers can view a comprehensive list of their past and current bookings, as well as their transaction history.
    • Delete account: Customers can choose to delete their account if they no longer wish to use the car rental service.
  • Admin operations:

    • Add cars: Administrators have the ability to add new cars to the system, including their details such as model, brand, and availability.
    • View cars: Administrators can access a list of all cars in the system, allowing them to review and update the car information as needed.
    • Delete cars: Administrators can remove cars from the system if they are no longer available for rent or if they need to be removed for other reasons.
    • Generate reports: Administrators can generate detailed reports that provide insights into car-related activities, such as bookings, rentals, and revenue.
    • View customer details: Administrators can access customer information, including registration details and transaction history.

FOLDER STRUCTURE

project-root
│
├── src
│   └── main
│       ├── java
│       │   └── com
│       │       └── masai
│       │           ├── dao
│       │           ├── entity
│       │           ├── exception
│       │           ├── service
│       │           ├── test (This class is simple to test the code)
│       │           └── ui
│       └── resources
│           └── META-INF
│               └── persistence
└── pom.xml

Tech-Stacks:

- Backend: Java, Hibernate etc 
- Database: MYSQL.
- Build tool: Maven.

Database

Untitled-2


Project Configuration

The project uses the following configuration:

<property name="jakarta.persistence.jdbc.driver" value="com.mysql.cj.jdbc.Driver" />
<property name="jakarta.persistence.jdbc.url" value="jdbc:mysql://localhost:3306/**[your database name]**" /> 
<property name="jakarta.persistence.jdbc.user" value="**[Inside here enter your SQL username]**" /> 
<property name="jakarta.persistence.jdbc.password" value="**[Inside here enter your SQL password]**" />

<!-- this will show the queries on console -->
<property name="hibernate.show_sql" value="true" />

<!-- <property name="hibernate.show_sql" value="true"/> -->
<property name="hibernate.hbm2ddl.auto" value="update" />

Setup

To run the application, follow these steps:

  1. Clone the remote Repository to the local system.
  2. Ensure you have Java and MySQL installed on your system.
  3. Import the project to the editor.
  4. Run the project and use the application on editor console.

Conclusion:

CAR RENTAL SERVICES provides convenience for both administrators and customers, allowing administrators to manage cars, generate reports, and view customer details, while customers can register, browse, book, and manage their rentals. This project aims to enhance the overall car rental experience and optimize the management of car-related activities.

About

The Car Rental Service application features two roles: admin and user. Admins can perform CRUD operations on cars, generate detailed reports, while users can easily book and cancel car rentals, and search for available cars based on seating capacity and dates. This user-friendly functionality enhances the overall car rental experience.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages