Api providing beers, beer styles and beer producers informations.
- Java 17
- SpringBoot 2.7.0
- Maven
- H2 Database
- MySQL
- Liquibase
- Lombok
- Swagger
- Git
To setup and run this project:
- Clone repository
git clone https://github.com/matsior/beer-api.git
- Build project with maven
mvn spring-boot:run
- After running application Swagger documentation available at: http://localhost:8080/api/swagger-ui/index.html
Available endpoints and CRUD operations (click to see details):
Beer:
Method | Url | Description | Sample Valid Request Body |
---|---|---|---|
GET | /api/beers | Get all beers | |
GET | /api/beers/{id} | Get single beer by Id |
Beer Producers:
...Beer Styles:
...Users:
...- Implement core functionalities
- Expand database model (add User entity)
- Create documentation
- Add cache
- Add Spring Security
- Write unit tests
- Write integration tests
- Deploy application on Heroku
Coming soon...
Distributed under the Mit License. Check here for more information.