Hello! My name is Danylo Krupnyk and I am Java Developer!
This is my simple REST-API application that provides service with implementation of CRUD operations! The project is made in accordance with the so-called three-tier development dividing the entire business application into:
- Presentation layer-business logic (controllers)
- Application layer (services)
- Data access layer (DAO)
Layering is to achieve "high cohesion, low coupling". The idea of "divide and conquer" is adopted to divide the problem into individual solutions, which is easy to control, easy to extend, and easy to allocate resources.
- Download this project (clone and open in your IDE).
- Run SimpleLibraryAppApplication
- http://localhost:8080/inject to inject some mock data
- http://localhost:8080/authors (POST) to create new author
- http://localhost:8080/authors/id both PUT and GET methods to update and read data. Id here is the id of author
- http://localhost:8080/authors/all to get all authors
- http://localhost:8080/authors/by-title?title=SOMETEXT to get all authors which have books containing "sometext" in title
- http://localhost:8080/books (POST) to create new book
- http://localhost:8080/books/id both PUT and GET methods to update and read data. Id here is the id of book
- http://localhost:8080/books/all to get all books
- Spring Boot
- Hibernate Framework
- Maven
- Tomcat
- Json
- Postman
- Lombok