Skip to content

agu-z/roc-gql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

roc-gql

[WIP] GraphQL in Roc experiment. Far from spec-compliant.

Example

  1. Run the server:
$ roc examples/posts.roc
  1. Point your prefered GraphQL playground app (such as Altair) to http://localhost:8000 and run a query!

Example query

query {
  posts {
    ...PostBasics
  }

  postNumberOne: post(id: 1) {
    ...PostBasics
    body
    author {
      firstName
      lastName
    }
  }
}

fragment PostBasics on Post {
  id
  title
  section
}

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published