https://github.com/kirpinev/java-shareit
ShareIt is a service that gives users, firstly, the ability to tell what things they are ready to share, and secondly, find the right thing and rent it for a while.
https://github.com/kirpinev/java-shareit
docker docker-compose hibernate java-11 junit postgresql
Last synced: 3 months ago
JSON representation
ShareIt is a service that gives users, firstly, the ability to tell what things they are ready to share, and secondly, find the right thing and rent it for a while.
- Host: GitHub
- URL: https://github.com/kirpinev/java-shareit
- Owner: kirpinev
- Created: 2023-02-08T12:15:25.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-02T11:13:12.000Z (about 3 years ago)
- Last Synced: 2025-02-25T14:35:46.456Z (over 1 year ago)
- Topics: docker, docker-compose, hibernate, java-11, junit, postgresql
- Language: Java
- Homepage:
- Size: 119 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ShareIt
ShareIt is a Spring Boot application that gives users, firstly, the ability to
tell what things they are ready to share, and secondly, find the right thing and
rent it for a while.
The service not only allows you to book a thing for certain dates, but also
closes access to it for the time of booking from other people. In case the
necessary thing is not on the service, users should be able to leave requests.
Suddenly, an ancient gramophone, which is strange even to offer for rent, will
suddenly be needed for a theatrical production. Upon request, it will be
possible to add new things for sharing.
## Technologies Used
- Spring Boot
- Hibernate
- Docker
- PostgreSQL
## Getting Started
### Prerequisites
Ensure you have the following installed on your system:
- Java Development Kit (JDK) 11 or later
- Docker
- PostgreSQL
### Building the Project
1. Clone the repository:
`git clone https://github.com/kirpinev/java-shareit.git`
2. Change the current directory to the project root:
`cd java-shareit`
3. Build the project using Maven:
`./mvnw clean install`
4. Run the Docker container for PostgreSQL:
`docker-compose up -d`
### Running the Application
Run the application using the following command:
`./mvnw spring-boot:run`
The application will start on port 8080. Access the public API at
`http://localhost:8080`.