• Stars
    star
    810
  • Rank 55,892 (Top 2 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 7 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Official Joke API!

Official Joke API

Endpoints:

Grab a random joke!

https://official-joke-api.appspot.com/random_joke

https://official-joke-api.appspot.com/jokes/random

Grab ten random jokes!

https://official-joke-api.appspot.com/random_ten

https://official-joke-api.appspot.com/jokes/ten

Grab jokes by type!

The endpoints are jokes/:type/random or jokes/:type/ten. For example:

https://official-joke-api.appspot.com/jokes/programming/random

https://official-joke-api.appspot.com/jokes/programming/ten

Grab joke by id!

Use endpoint /jokes/:id


How these jokes were collected

The majority of these jokes were contributed by joke-loving coders around the world!

Make a contribution!

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

{
  "type": "programming",
  "setup": "What's the best thing about a Boolean?",
  "punchline": "Even if you're wrong, you're only off by a bit."
}

Run Locally

  • Clone the repo
  • npm i && npm run dev
  • Visit localhost:3005/jokes/random or localhost:3005/jokes/ten on your browser!

More Repositories

1

ReactJS_VideoGuides

React JS Web Development - The Essentials Bootcamp
JavaScript
270
star
2

cryptochain

Build a blockchain-based cryptocurrency on the full stack course
JavaScript
256
star
3

es6-in-depth-tutorial

The Full JavaScript & ES6 Tutorial - (including ES7 & React)
JavaScript
196
star
4

sf-chain-guides

Build a blockchain-based cryptocurrency course
JavaScript
196
star
5

es6-tutorial

Essentials in JavaScript ES6 - A Fun and Clear Introduction
JavaScript
179
star
6

vue-guides

Vue JS - Mastering Web Apps
JavaScript
157
star
7

python-blockchain-tutorial

Official course repository for "Python, JS, & React | Build a Blockchain & Cryptocurrency" by David Katz.
Python
113
star
8

redux-collection-guides

ReactJS - Mastering Redux
JavaScript
110
star
9

javascript-bootcamp

Official repository for "Learn JavaScript From Scratch, Get Hired" by David Katz.
JavaScript
106
star
10

beat-cors-server

Code for the "3 Ways to Fix the CORS Errorโ€Šโ€”โ€Šand How the Access-Control-Allow-Origin Header Works" article
JavaScript
73
star
11

react-bootcamp

Official repository for "React JS and Redux Bootcamp | Master React Web Development" by David Katz.
JavaScript
58
star
12

react-testing

React, Redux, & Enzmye - Mastering Apps & Tests
JavaScript
56
star
13

dragonstack-guides

Official course repository for the full-stack Node.js, Express.js, PostgreSQL, React, & Redux, dragonstack course on Udemy by David Katz
JavaScript
55
star
14

build-ethereum-from-scratch

Accompanying repository for the "Build Ethereum From Scratch - Smart Contracts and More" course by David Katz
JavaScript
53
star
15

node_postgres

NodeJS and PostgreSQL backend web development course
JavaScript
49
star
16

react-tdd

React - Mastering Test and Behavior Driven Development
HTML
48
star
17

react-hooks-course

Official repository for React Hooks Course
JavaScript
41
star
18

sfcookies

Giving react projects access to browser cookies.
JavaScript
40
star
19

react-vr-guides

React VR - Creating Virtual Reality Apps
JavaScript
39
star
20

cryptochain_commits

Lecture by lecture commits of the https://www.udemy.com/build-blockchain-full-stack/ course
JavaScript
33
star
21

react-security

React Security & Authentication - Ethical Hacking in ReactJS
JavaScript
27
star
22

docker-guides

Official guide repo used to accompany video tutorials in the docker course.
Dockerfile
24
star
23

spotify-api-wrapper

A wrapper to get spotify artist and top tracks, with an automatically regenerating API token.
JavaScript
21
star
24

ReactNative_videoGuides

Project files created while recording.
JavaScript
15
star
25

react-vr-panos

Collection of Equirectangular pano images for React-Vr Pano Components.
15
star
26

sf-chain

A JavaScript blockchain developed in San Francisco
JavaScript
14
star
27

news-proxy

Proxy for the hackernews api to get top stories.
JavaScript
14
star
28

parcel-react-jest

Setup for a Parcel, React, and Jest project
JavaScript
7
star
29

react-app-template

HTML
7
star
30

github-jobs-proxy

github-jobs-proxy
JavaScript
6
star
31

limiting-middleware

Express rate limiting middleware
JavaScript
6
star
32

react-essentials-bootcamp-commits

Commit guide to "React JS Web Development - The Essentials Bootcamp"
JavaScript
5
star
33

vue

Collecting vueJS projects
JavaScript
5
star
34

next-react-course

Next.js 13 & React 18 Course
JavaScript
5
star
35

dragonstack-scripts

The experimentation code for the Master Full-Stack Development | Node, SQL, React, and More course on Udemy by David Joseph Katz.
JavaScript
5
star
36

jokes-api-ruby

Version of the jokes api implemented in ruby
Ruby
4
star
37

software-engineering-acronyms

A collection of acronyms you will hear in meetings. Avoid the inevitable google search/meeting interruption for clarification.
4
star
38

davidkandomusic

davidkandomusic.com
JavaScript
3
star
39

15Dkatz.github.io

Project Website
HTML
3
star
40

agile-ruby

Lessons from "Practical Object-Oriented Design in Ruby" by Sandi Metz
Ruby
3
star
41

ReactJS_Guides

A set of projects that align with my ReactJS Udemy course.
JavaScript
2
star
42

webpack-es6-react-boilerplate

JavaScript
2
star
43

deck-of-cards-api-wrapper

Wrapper around the deck of cards api to enable requests in development (by getting over the CORS policy).
JavaScript
2
star
44

testing-js

Series of tests for javascript.
JavaScript
1
star
45

stackviewer2-ios-swift

Another demonstration of stackviewing design.
Swift
1
star
46

PictureSpeak

Take a picture and hear the text!
JavaScript
1
star
47

rubyist-notes

Notes from reading the Rubyist by David A. Black
Ruby
1
star
48

pitchIntervalMaster

An AngularJS application for practicing ear training with intervals. Uses teoria.js, wad.js, angular, and many css libraries.
JavaScript
1
star
49

stackviewer-ios-swift

Used Xcode and stackviewing principles to create a dynamically resizeable application
Swift
1
star
50

heatmap-d3

heatmap-d3 example
JavaScript
1
star
51

machinelearning-learning

collection of machine learning projects
MATLAB
1
star
52

99bottles

Code completed while going through the 99bottles book.
Ruby
1
star
53

react-bootcamp-news

JavaScript
1
star
54

node-examples

Parent directory for all of my test node projects.
JavaScript
1
star
55

multiples-ios-swift

An ios-application that adds multiples according to your number and your limit.
Swift
1
star
56

docker-guides_commits

Commit-by-lecture walkthrough of the https://www.udemy.com/course/docker-containers course
1
star
57

addleserver

separate heroku server
JavaScript
1
star
58

typerace-hooks

Learn React Hooks by building this Type Race application!
JavaScript
1
star
59

ios-course-redVblue-exercise

First exercise challenge in ios9 and swift2 course
Swift
1
star
60

beat-cors

An app to explore the thrill of getting over CORS
HTML
1
star