Skip to content

rendyfebry/go-graphql-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphQL with Golang Example Project

Build Status

Info

GraphQL implementation with Golang

Prerequisites

  • Go 1.12
  • Dep

Install Depedencies

dep ensure -v

Run

go run main.go
curl --location --request POST 'http://localhost:8080/graphql' \
  --header 'Content-Type: application/graphql' \
  --data-raw '{"query":"query{user(id: 1){id,name,age}}"}'

Test

go test -v ./...

About

GraphQL implementation with Golang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages