Skip to content

A beer stock API with Spring-Boot developed for unit testing

Notifications You must be signed in to change notification settings

abraojr/Beer-Stock-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A beer stock API with Spring-Boot developed for unit testing

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages