wp-graphql / wp-graphql-dad-jokes

Get a random Dad Joke returned via GraphQL query using the WPGraphQL WordPress plugin (https://github.com/wp-graphql/wp-graphql)

Home Page:https://www.wpgraphql.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WPGraphQL Dad Jokes

This is an extension to the WPGraphQL plugin (https://github.com/wp-graphql/wp-graphql) that adds a dadJoke root query that returns a random dad joke from icanhazdadjoke.com

To query for a dad joke:

{
  dadJoke
}

GraphiQL dadJoke query

About

Get a random Dad Joke returned via GraphQL query using the WPGraphQL WordPress plugin (https://github.com/wp-graphql/wp-graphql)

https://www.wpgraphql.com


Languages

Language:Shell 54.7%Language:PHP 28.7%Language:JavaScript 16.6%