Skip to content
No description, website, or topics provided.
JavaScript Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
express
functions
public
.editorconfig
.gitignore
LICENSE
README.md
_redirects
index.html
jokes.js
netlify.toml
package.json
server-local.js

README.md

Joke API

Deploy your own version to Netlify

Deploy to Netlify

curl https://wizardly-wing-66188a.netlify.com/.netlify/functions/server

Public Endpoints:

Grab a random joke!

https://wizardly-wing-66188a.netlify.com/.netlify/functions/server

How these jokes were collected

Full disclosure: I collected jokes from these sources initially;

Make a contribution!

Submit a Pull Request, with your joke added to the jokes.js file. Make sure the joke is in this format:

Adding a normal joke

{
  "joke": "your joke's setup line",
  "punchline": "your joke's punchline"
}

Adding a oneline pun

{
  "joke": "your joke's setup line",
  "punchline": null
}

Run Locally

You can’t perform that action at this time.