A sample spring boot application which illustrates how to use "dgs-framework" to implement graphql schemas, endpoints. This application uses H2 as in-memory database to showcase, but you can also use an external database instead.
- GraphQL Schema definitions
- Mapping Query & Mutations to Datafetcher
- Mapping field level Query to Datafetcher
- Defining and Registering Dataloader and dataloader registry
- Exception Handling
mvn clean install
mvn spring-boot:run
docker-compose up --build -d