Skip to content

Playground of a GraphQL server that delivers some commonly used functionality.

License

Notifications You must be signed in to change notification settings

beeman/graphql-micros

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphQL Micros

Playground of a GraphQL server that delivers some commonly used functionality.

Examples

Try these examples on graphql-micros.now.sh.

query {
  # Fetch profile data from remote sites 
  unfurl(url: "https://github.com/beeman") {
    ogp {
      image:ogImage { url }
      siteName:ogSiteName
      type:ogType
      title:ogTitle
      url:ogUrl
      description:ogDescription
    }
  }
  # Password check based on analytics
  # and remote check using haveibeenpwned.com api
  weak:password(password: "password" remote: true) {
    percentage
    remote
  }
  strong:password(password: "[P]a$^2w0rt" remote: true) {
    percentage
    remote
  }
  # Generate a Gravatar URL based on the Email address
  gravatar(email: "borggreve@gmail.com" size: 200) 
}

MIT License

Releases

No releases published

Packages

No packages published