graphql spring boot demo
execute mvnw spring-boot:run
. Or inside an IDE, execute the class com.hello.world.Application
.
to http://localhost:8080/graphiql to start executing queries. For example:
{
searchUsers {
id
name
city {
id
name
}
}
}
with paginate
{
searchUserPage(page: {pageSize: 10, pageNum: 1}){
id
name
}
}
- use shiro to graphql
- ...