Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 899 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 899 Bytes

Beer-Stock-API

Digital Innovation One: Project to Bootcamp - Development of unit tests to validate a REST API for beer stocks management

In this project a REST API for beer stock management was developed, with a focus on unit testing. Main frameworks used for unit tests: JUnit, Mockito and Hamcrest. Unit tests were created to validate the basic functionalities: creation, listing, query by name, and exclusion of beers.In the end, two important functionalities were developed using the TDD concept: functionalities to increment and decrement the number of beers in stock.

API communication endpoint:

http://localhost:8080/api/v1/beers

Tools

  • Java 11
  • Maven 3.8.1
  • Intellj IDEA
  • GIT

Spring Dependencies

  • DevTools
  • Lombok
  • Spring Web
  • Data JPA
  • Actuator
  • H2 Database
  • MapStruct