Skip to content

πŸš€A Basic GraphQL API written in JS and uses GraphQL-Yoga.πŸ§˜β€β™‚οΈ

License

Notifications You must be signed in to change notification settings

DARK-art108/GraphQL-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

GraphQL-API

A Basic GraphQL API written in JS and uses GraphQL-Yoga

Sample GraphQL API queries


query{
  posts(){
    id
    title
    published
    body
    author{
      name
    }
  }
  me{
    id
    email
    name
  }
  post{
    id
    published
  }
  users{
    name
    id
    email
    age
  }
}

Use filter in Query to Get Response

query{
  posts(query: "g"){
    id
    title
    published
    body
    author{
      name
    }
  }
  me{
    id
    email
    name
  }
  post{
    id
    published
  }
  users{
    name
    id
    email
    age
  }
}

About

πŸš€A Basic GraphQL API written in JS and uses GraphQL-Yoga.πŸ§˜β€β™‚οΈ

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published