Skip to content

batetolast1/BookAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Book API

This app allows users to retrieve information about books stored in DB. Data between user and DB is transferred in JSONs using REST API with simple CRUD support (GET, PUT, POST, DELETE).

You can also access book data via web admin panel.

Content

What you can do with API:

  • get info about all books (GET, /books)
  • get info about a certain book by ID (GET, /books/{id})
  • add a new book to database (POST, /books)
  • edit book's data (PUT, /books)
  • delete a book from database by ID (DELETE, /books/{id})

What you can do with admin panel:

  • get info about all books
  • get info about a certain book by ID
  • add a new book to database
  • edit book's data
  • delete a book from database by ID

Design patterns used:

  • REST API
  • MVC
  • Controller
  • Service
  • Repository
  • DTO + Mapper
  • validators

Technologies used:

  • Java
  • Spring MVC, servlets, JSTL
  • Hibernate, Hibernate Validator, Spring ORM
  • Spring Data
  • MySQL
  • ModelMapper
  • Jackson
  • Lombok
  • webjars
  • Maven

Copyright

License: MIT

About

REST API with admin panel written in Java and Spring 5

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages