This service can be started in your IDE without a specific profile, or from the command line:
mvn spring-boot:run
The service uses an in-memory H2 database. The beer data is loaded from the JSON files in the resource folder.
- Spring Boot 3.2.4
- JDK 17
- Maven 3.9.0
http://localhost:8080/swagger-ui/index.html
http://localhost:8080/h2-console/
password: sa
- Validation of the request parameters has been applied to the BeerFilter (annotated with @ModelAttribute). Should be applied to all the request parameters.
- The BeerSpecification for filtering beers is not fully implemented. Missing criteria are:
- yeast
- ids
- Search beers is based on one of the simple properties. An improvement of search can be based on one or more properties.