This is an example project to showcase graphql running with spring boot.
./gradlew clean bootRun
- You can then execute:
curl \
-X POST \
-H "Content-Type: application/json" \
--data '{ "query": "{ user(id: 1) { id, name } }" }' \
http://localhost:8080/graphql