Skip to content

dixitk13/simple-graphql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-graphql

  • trying a simple graphql server for "purely academic purposes" :-)

  • adding a react front-end for the same on localhost:3000

starting the application

npm start

query sample

Quering posts or single post

query{
  post(id: 1) {
    id
  }
}

query{
  posts {
    id
    author
  }
  post(id: 1) {
    id
  }
}