28d61c77ef | ||
---|---|---|
.. | ||
src | ||
.gitignore | ||
README.md | ||
mvnw | ||
mvnw.cmd | ||
pom.xml |
README.md
Spring Boot Libraries
This module contains articles about various Spring Boot libraries
The Course
The "REST With Spring" Classes: http://bit.ly/restwithspring
Relevant Articles:
- Guide to ShedLock with Spring
- A Guide to the Problem Spring Web Library
- Generating Barcodes and QR Codes in Java
- Rate Limiting a Spring API Using Bucket4j
- Spring Boot and Caffeine Cache
- Spring Boot and Togglz Aspect
- Getting Started with GraphQL and Spring Boot
- An Introduction to Kong
GraphQL sample queries
Query
curl \
--request POST 'localhost:8081/graphql' \
--header 'Content-Type: application/json' \
--data-raw '{"query":"query {\n recentPosts(count: 2, offset: 0) {\n id\n title\n author {\n id\n posts {\n id\n }\n }\n }\n}"}'
Mutation
curl \
--request POST 'localhost:8081/graphql' \
--header 'Content-Type: application/json' \
--data-raw '{"query":"mutation {\n writePost(title: \"New Title\", author: \"Author2\", text: \"New Text\") {\n id\n category\n author {\n id\n name\n }\n }\n}"}'