Skip to content

Spring-boot application with a REST controller, which expose a Swagger API catalog

Notifications You must be signed in to change notification settings

isaacTadela/spring-boot-inventory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

Inventory microservice

Spring-boot application with a REST controller, which expose a Swagger API catalog

Built With

The following technologies:

  • Java
  • Spring boot
  • Swagger
  • REST API/JSON
  • Docker

The application expose the following APIs:

-List of the inventory items list (item no, name, amount, inventory code)

-Read item details (by item no)

-Withdrawal quantity of a specific item from stock

-Deposit quantity of a specific item to stock

-Add item to stock

-Delete an item from stock

Data persisted on H2 DB using JPA. The application pack and run from docker.

You can go to swagger-ui and see the API. In the future i thinking to create Angular pages for the fron-end which enable to create/read/update and delete the items in the inventory, meanwhile you can use Postman to see the resposes and the inventory.

You can find the docker imarg here: https://hub.docker.com/r/iitzhakk/spring-inventory

As you can see this microservice can be a part of a more complex e-commerce application.

Screenshot of inventory diagram Image by https://microservices.io

About

Spring-boot application with a REST controller, which expose a Swagger API catalog

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published