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.
Clone the dad-jokes
repository locally. In a terminal, run:
$ git clone https://github.com/pankaj-pant/dad-jokes.git
$ cd dad-jokes
To install the dependencies run the command:
$ npm install
This command serves the app at http://localhost:3000/
.
$ npm start