Skip to content

Latest commit

 

History

63 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Car Rental System [Backend]

Car Rental System is a simple system designed to meet the needs of companies renting cars for days. The app allows users to browse cars available for hire and send requests for car availability on the indicated date, along with a cost calculation. Administrators can easily respond to inquiries and manage cars and users.

It has been designed using a layered architecture, enabling effective management of business logic, presentation and data access.

This repository contains only the backend. Frontend of the project - car-rental-system-react

Technologies used

  • Spring Framework, Spring Boot, Spring Security, Spring Data JPA
  • JUnit, Mockito
  • Lombok
  • JWT
  • REST API
  • MySQL
  • Docker, Docker Compose

Features

  • General:
    • view cars available for rent,
    • login and registration in the system.

  • User:
    • rent a car,
    • show a list of rentals,
    • check the current rental status and rental status history,
    • show simple profile and change account password.

  • Administrator:
    • manage cars (show information, edit, change photo, delete and change visibility),
    • manage rentals (show information, edit, delete, change status),
    • manage users (show list, add, delete, change role).

Database schema

db_schema_v2 The schema was created using Apache Workbench.

Running the project with Docker Compose

  1. Clone this repository
     git clone https://github.com/Mr-Victor16/car-rental-system-spring
  2. Go to the folder with cloned repository
  3. Run docker compose
     docker compose up

Login details

  • Administrator
    Username: admin
    Password: admin

  • User
    Username: user
    Password: password

About

Car Rental System is a simple system designed to meet the needs of companies renting cars for days. Project was created for purpose of learning to develop REST API.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Used by

Contributors

Languages