Status: Finished ✔️
This api consumes ViaCep, Isbn api's and creates a library with books, clients and employees.
- Java 11
- Spring Boot
- Lombok
- Java
- Spring Boot (versão 2.7.7)
- Spring Data JPA
- Spring Cloud
- MySQL
- Flyway
- Lombok
- Model Mapper
- Data Transfer Object (DTO)
- Bean validation
- ViaCep-Api (https://github.com/Fa2bio/ViaCep-Api)
- Isbn-Api (https://github.com/Fa2bio/Isbn-Api)
- Clone the repository to your device;
- Import it as a MAVEN project in your IDE;
- In your Postman client, import the requests models available at Library.postman_collection.zip;
- By default, this application runs using port 8080;
- This API contains a mass of data inserted over aftermigrate;
- It's necessary to inform the username and password of your localhost server, for that go to the application.properties file and edit:
spring.datasource.username=
spring.datasource.password=
- After fulfilling the requirements and installing, run a LibraryApplication class as a spring boot application;
- To access documentation for features supported by this API, access the Swagger available at http://localhost:8080/swagger-ui/#/
- After importing the requests to your Postman client and execute the API, you will have access to all the features.