RentRead is a RESTful API service for managing an online book rental system using Spring Boot and MySQL.
- Java 17
- Maven
- MySQL
-
Clone the repository:
-
Build the project:
- Configure MySQL database settings in
application.properties
. - Run the application:
- POST /api/auth/register - Register a new user.
- POST /api/auth/login - Authenticate and receive a JWT token.
- GET /api/books - Retrieve all available books.
- POST /api/books - Create a new book (admin only).
- ...
Configure database connection and other settings in src/main/resources/application.properties
.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License - see the LICENSE file for details.