Car Rental Management System
This is a simple web application for managing car rentals. It allows users to make reservations, generate invoices, and print them. Features
Reservation Form: Users can fill out a form to make a reservation, including pickup and return dates, customer information, and vehicle selection.
Dynamic Pricing: Rental charges are calculated based on the duration of the reservation and selected options like insurance.
Invoice Generation: Invoices are automatically generated after a reservation is made, including all relevant details such as rental cost, taxes, and additional fees.
Print Functionality: Users can print invoices directly from the web application for their records.
Technologies Used
React: Frontend framework for building the user interface.
Next.js: React framework for server-side rendering and routing.
Redux Toolkit: State management library for managing application state.
React Query: Data fetching library for fetching and caching API data.
React-to-Print: React library for printing components.
Tailwind CSS: Utility-first CSS framework for styling the application.
Installation
Clone the repository:
bash
git clone
Install dependencies:
bash
cd car-rental-management-system npm install
Start the development server:
bash
npm run dev
Open your browser and navigate to http://localhost:3000 to view the application.
Usage
Fill out the reservation form with the required details.
Review the calculated charges and additional options.
Click "Create Invoice" to make the reservation and generate the invoice.
Optionally, click "Print Invoice" to print the invoice.
Contributing
Contributions are welcome! If you'd like to contribute to this project, please fork the repository and submit a pull request with your changes. License
This project is licensed under the MIT License.