All Projects → zupzup → example-go-graphql

zupzup / example-go-graphql

Licence: MIT license
Example of using Go to create a graphql API

Programming Languages

go
31211 projects - #10 most used programming language

example-go-graphql

Example of using Go to create a graphql API

Start with go run main.go

Go to http://localhost:3000/graphql using GraphiQL

Set off queries such as:

query {
  post(id: 5) {
    userId
    id
    body
    title
    comments {
      id
      email
      name
    }
  }
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].