A simple demo application done with Spring Boot and Spring Data JPA for playing with Spring Boot.
The business application is just a simple entitlements system, where for the accounts in organization, we want to manage entitlements of product licenses.
Each product is a set of features (e.g., functionalities) or contents (e.g. HTML links ). Products are bundled together and licensed as a group.
Check data model page if you are interested!
- JDK 21 or better
- Docker
Start the application with the following command:
mvn spring-boot:run
Note that Postgresql (and maybe other) supporting infrastructure will be bring on automatically thanks to Spring Boot support for docker compose.
See compose.yml for more details.
Demo data are created on the fly, courtesy of the DataLoader
class.
Open the graphiql console at http://localhost:8080/graphiql
and have fun!
See this page for some sample queries to start with.