Skip to content

JPCT/simple-interest-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-interest-api

API built in Spring Boot with Maven to calculate simple interest.
Test for @aplazo

Docker

Use of docker to run the API inside a container:

Build docker image

docker build -t simple-interest-api .

Run docker container

docker run -p 8080:8080 simple-interest-api

H2 Database

Local H2 Database do storage the request and response.

Alt text

Health Endpoint

Use of Spring Boot actuator to have the health endpoint.

Alt text

Unit Test Coverage

Unit test coverage report made by Intellij Idea.

Alt text

Swagger UI (Open API)

Use of swagger to document the API.

Alt text Alt text

Practical Example

Request

Alt text

Response

Alt text

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published