An interactive GraphQL wrapper for the https://chucknorris.io API
The GraphQL playground can be accessed at https://chuck.byronpolley.com/api/graphql.
To run locally you will need Now CLI.
npm i -g now
npm install
now dev
Retrieve a list of available categories
{
categories {
name
}
}
Retrieve a random Chuck Norris joke from one of the available categories
{
random(category: "dev") {
created_at
icon_url
id
updated_at
url
value
}
}
- React 16.10.2
- Next.js 9.0.7
- Apollo Boost 0.4.4
- Apollo Server Micro 2.9.0
- NodeJS LTS 10.16.3
- ESLint 6.1.0
- Typescript 3.6.4
-
The frontend implements
prefers-color-scheme
on supported browsers. Try the transition by switching your OS theme :) -
Hosted on Now