Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/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)
https://github.com/wp-graphql/wp-graphql-dad-jokes

dadjokes graphql php plugin wordpress wpgraphql

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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