Jarck / graphql-spring-boot-demo

graphql spring boot demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

graphql-spring-boot-demo

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
  }
}

TODO

  1. use shiro to graphql
  2. ...

About

graphql spring boot demo


Languages

Language:Java 98.1%Language:HTML 1.9%