{"id":21669246,"url":"https://github.com/abraojr/beer-stock-api","last_synced_at":"2026-05-07T15:47:52.322Z","repository":{"id":120569835,"uuid":"386441214","full_name":"abraojr/Beer-Stock-API","owner":"abraojr","description":"A beer stock API with Spring-Boot developed for unit testing","archived":false,"fork":false,"pushed_at":"2021-07-18T01:09:21.000Z","size":78,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-25T08:43:08.834Z","etag":null,"topics":["api-rest","hamcrest-matchers","junit5","mockito","spring-boot","unit-testing"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abraojr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-15T22:35:36.000Z","updated_at":"2021-07-18T01:09:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"82bf2160-3af4-41a5-a5c6-f548d966bccf","html_url":"https://github.com/abraojr/Beer-Stock-API","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abraojr%2FBeer-Stock-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abraojr%2FBeer-Stock-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abraojr%2FBeer-Stock-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abraojr%2FBeer-Stock-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abraojr","download_url":"https://codeload.github.com/abraojr/Beer-Stock-API/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244569886,"owners_count":20473958,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-rest","hamcrest-matchers","junit5","mockito","spring-boot","unit-testing"],"created_at":"2024-11-25T12:20:15.694Z","updated_at":"2026-05-07T15:47:52.291Z","avatar_url":"https://github.com/abraojr.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Beer-Stock-API\n\u003ch2\u003eDigital Innovation One: Project to Bootcamp - Development of unit tests to validate a REST API for beer stocks management\u003c/h2\u003e\n\n\nIn 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.\n\n\n\u003ch3\u003eAPI communication endpoint:\u003c/h3\u003e\n\n```\nhttp://localhost:8080/api/v1/beers\n```\n\n\n\u003ch3\u003eTools\u003c/h3\u003e        \n\n *  _Java 11_  \n *  _Maven 3.8.1_ \n *  _Intellj IDEA_ \n *  _GIT_\n\n\n\u003ch3\u003eSpring Dependencies\u003c/h3\u003e\n\n*  _DevTools_ \n*  _Lombok_ \n*  _Spring Web_ \n*  _Data JPA_ \n*  _Actuator_ \n*  _H2 Database_\n* _MapStruct_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabraojr%2Fbeer-stock-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabraojr%2Fbeer-stock-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabraojr%2Fbeer-stock-api/lists"}