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.
The project is developed using:
- Java 11
- Spring Boot
- Hibernate
- Maven
- Lombok
- PostgreSQL
- H2
- Create a user
- Get a user by id
- Update a user
- Delete a user
- Get a list of all users
- 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
- 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
- Add a booking request
- Get a booking request by id
- Get booking requests with answers
- Get booking requests of other users
-
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"