pankaj-pant / dad-jokes

Do you want to enjoy some dad jokes? View app here -> https://dad-jokes-535fb.web.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dad jokes

A simple front end application built using React. The Dad-Jokes application connects to the icanhazdadjoke API and fetches really cringy dad jokes. 10 Jokes are fetched at a time, and the user can vote and downvote individual jokes. These actions then persist in the localstorage in the browser. User can fetch more fresh jokes with the help of a button.

Quick start

  1. Clone the repo.
  2. Install and build app.
  3. Run the frontend.

1. Clone the repo

Clone the dad-jokes repository locally. In a terminal, run:

$ git clone https://github.com/pankaj-pant/dad-jokes.git
$ cd dad-jokes

2. Install and build app

To install the dependencies run the command:

$ npm install

3. Run the frontend

This command serves the app at http://localhost:3000/.

$ npm start

License

MIT

About

Do you want to enjoy some dad jokes? View app here -> https://dad-jokes-535fb.web.app/


Languages

Language:JavaScript 52.3%Language:CSS 37.7%Language:HTML 10.0%