Skip to content

turkeryi/spring-graphql-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spring-graphql-example

Sample application using the new Spring GraphQL library.

The application is basketball player registration for a basketball team. A Player can be added, deleted and also all players in the system can be listed.

Doc

http://localhost:8761/graphql
query {
    players {
        id
        name
        surname
        position
    }
}
mutation addPlayer($playerInput: PlayerInput!) {
  addPlayer(playerInput: $playerInput){
        id
        name
        surname
        position
    }
}
mutation deletePlayer($id: ID!) {
  deletePlayer(id: $id)
}

or you can use postman collection within the project.

Releases

No releases published

Packages

No packages published

Languages