Catalog is one of the services that makes PD Library.
It keeps track of book titles, authors, descriptions, reviews, ratings, QR codes, and genres. Basically of everything that can be read on the physical book itself, plus reviews and ratings left by readres, that also help to explain the book.
It does not know who rented the book or if there is an available copy of the book to rent.
It can be considered as one of those static paper catalogs from Lidl or Ikea, whose purpose is only to inform consumers about its offer.
- REST API served over Gateway
- Protected by the User Profile JWT token issued by the PD Library User Profile service
- MySQL database
- Kafka
Dependencies can be run from Infrastructure project, by docker compose scripts.
Locally, application can be started in two ways.
- From source code
- From latest published Docker image
Suitable when developing features in this project.
- Set Spring Profile to local by following these steps:
- Open "Edit Configurations"
- in the section "Library Application" find the field "Program arguments";
- enter the following command: --spring.profiles.active=local
- Press Run or Debug Library Application
Suitable when developing features in other projects, and you need this one as a dependency.
For this purpose see Infrastructure project.