/Library-Api

This api consumes ViaCep, Isbn api's and creates a library with books, clients and employees.

Primary LanguageJava

Library

Status: Finished ✔️

Contents

What is it?

This api consumes ViaCep, Isbn api's and creates a library with books, clients and employees.

Requirements

  • Java 11
  • Spring Boot
  • Lombok

Technologies Used

Installing

  • 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:

Application.properties

spring.datasource.username=
spring.datasource.password=

Run Application

  • 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/#/

General Usage

CRUD

  • After importing the requests to your Postman client and execute the API, you will have access to all the features.

Diagrams

2