Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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)
- Host: GitHub
- URL: https://github.com/wp-graphql/wp-graphql-dad-jokes
- Owner: wp-graphql
- Created: 2017-06-13T20:50:48.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-03-25T17:11:37.000Z (over 3 years ago)
- Last Synced: 2024-04-14T06:53:37.149Z (8 months ago)
- Topics: dadjokes, graphql, php, plugin, wordpress, wpgraphql
- Language: Shell
- Homepage: https://www.wpgraphql.com
- Size: 90.8 KB
- Stars: 11
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-wpgraphql - WPGraphQL Dad Jokes
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
}
```