Skip to content

GraphQL starter project for Clojure with graphql-clj and GraphiQL

Notifications You must be signed in to change notification settings

tendant/graphql-clj-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project is a Demo project for graphql-clj and GraphiQL. You can start trying Clojure with GraphQL in a few minutes.

This project was bootstrapped with Create React App.

Start server

lein ring server-headless

Access graphiql from

http://localhost:3002/index.html

Sample queries

query {
  human (id:"1002") {
    id
    name
    friends {
      id
      name
      friends {
        id
      }
    }
  }
}

Sample mutations

mutation{
  createHuman (name:"testname", friends:[]) {
    id
  }
}

Build Application (HTML & JS)

Note: Not required, unless you want to make changes to Javascript code

npm install

npm run build

About

GraphQL starter project for Clojure with graphql-clj and GraphiQL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published