This repository contains the backend service for the SWE (Software Engineering) final project, part of the graduate Computer Science program at Maharishi International University (MIU).
The Car Rental System (CRS) backend service is a Spring Boot application designed to handle car rental operations. It provides RESTful APIs for managing cars, customers, reservations, and rentals. Built with Spring Data JPA for database interaction and secured using Spring Security.
- Manage cars, customers, and reservations.
- Handle rental transactions including pickup and return.
- Generate rental invoices and reports.
- Role-based authentication and authorization.
- RESTful APIs for seamless integration with front-end systems.
- Spring Boot - Application framework.
- Spring Data JPA - Database interaction.
- Spring Security - Authentication and authorization.
- H2 Database - In-memory database for development.
- Swagger - API documentation.
- Java 11 or higher.
- Maven - Build and dependency management tool.
- IDE like IntelliJ IDEA or Eclipse.
- Clone the repository:
git clone https://github.com/anhvu2889/miu-cs425-crs-service
- Navigate to the project directory:
cd miu-cs425-crs-service
- Build and run the application:
mvn spring-boot:run
- Access the APIs via Swagger UI:
http://localhost:8080/swagger-ui.html
- /api/cars - Manage car records.
- /api/customers - Manage customer data.
- /api/reservations - Create and manage reservations.
- /api/rentals - Handle rental transactions.
Contributions are welcome! Follow these steps:
- Fork the repository.
- Create a new branch.
- Commit your changes.
- Submit a pull request.