Skip to content

ShareIt is a service for renting items. There owners can offer their items for temporary use, and bookers can choose the best option for their needs.

Notifications You must be signed in to change notification settings

MelTrevelyan/java-shareit

Repository files navigation

java-shareit

ShareIt is a service that allows users list their items, and rent other ones. Owners can view rental requests for their items and then approve or reject bookings. Bookers can leave comments about items they rented.


Technologies

The project is developed using:

  • Java 11
  • Spring Boot
  • Hibernate
  • Maven
  • Lombok
  • PostgreSQL
  • H2

Features

User

  • Create a user
  • Get a user by id
  • Update a user
  • Delete a user
  • Get a list of all users

Item

  • Create an item
  • Update an item
  • Get an item by id
  • Get all items by owner
  • Search for items by text
  • Add a comment to an item

Booking

  • Create a booking
  • Confirm a booking
  • Get all bookings for a user
  • Get all bookings for items owned by a user
  • Get a booking by id

Request

  • Add a booking request
  • Get a booking request by id
  • Get booking requests with answers
  • Get booking requests of other users

DB schema

shareIt

Application launch options

  • Usind «docker-compose up» command (launch via docker);

  • Using IntelliJ IDEA:

«server»: server\src\main\java\ru\practicum\shareit\ShareItServer -> "run";

«gateway»: gateway\src\main\java\ru\practicum\shareit\ShareItGateway -> "run"

About

ShareIt is a service for renting items. There owners can offer their items for temporary use, and bookers can choose the best option for their needs.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published