This is an API Rest for a library developed with Spring Boot. The application allows to manage books, members, and loans.
- Register members.
- Manage members.
- Add books to catalog.
- Manage books from catalog.
- Loan books to members.
- Return borrowed books.
- Check loan history of each member.
- Book: id, title, authors, isbn, description, genres.
- Member: id, fullName, email, password.
- Loan: id, member, book, borrwedDate, returnDate.
Clone this project
git clone https://github.com/androsrivas/API-library.gitConfig application.properties file:
spring.datasource.url=jdbc:mysql://localhost:3306/api_library
spring.datasource.username=root
spring.datasource.password=your_password
spring.jpa.hibernate.ddl-auto=updateCompile and execute application:
mvn spring-boot:runApplication will be available in:
http://localhost:8080 GET /api/v1/books GET /api/v1/books/{id} POST /api/v1/books PUT /api/v1/books/{id} DELETE /api/v1/books/{id} GET /api/v1/members GET /api/v1/members/{id} PUT /api/v1/members/{id} DELETE /api/v1/members/{id}