Skip to content

ShareIt - is a service where registered users can list items for rent or rent items. Owners can view rental requests for their items and approve or revoke bookings. Owners can also delete items. Users whose rental period has ended can leave reviews.

Notifications You must be signed in to change notification settings

DevSMike/java-shareit

Repository files navigation

ShareIt API

ShareIt is a service for renting items.

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 for a user
  • Search for items
  • 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 booking information

Installation

To use this API, follow these steps:

  1. Clone the repository: git clone https://github.com/DevSMike/java-shareit.git
  2. Navigate to the project directory: cd shereit-api
  3. Compile the Java source files: javac *.java

Development Stack

The project is developed using the following technologies:

  • Java 11
  • Spring Boot
  • Hibernate
  • JPA (Java Persistence API)
  • Maven
  • Lambok
  • PostgreSQL

Contributing

Contributions to this project are welcome. To contribute, follow these steps:

  1. Fork the repository.
  2. Create a new branch: git checkout -b my-branch
  3. Make your changes and commit them: git commit -m 'Add some feature'
  4. Push to the branch: git push origin my-branch
  5. Submit a pull request.

About

ShareIt - is a service where registered users can list items for rent or rent items. Owners can view rental requests for their items and approve or revoke bookings. Owners can also delete items. Users whose rental period has ended can leave reviews.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published