Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/josh-mchugh/reactjs-dad-joke-app

Small ReactJS application to fetch some classic dad jokez
https://github.com/josh-mchugh/reactjs-dad-joke-app

jsx reactjs tailwindcss vite

Last synced: about 1 month ago
JSON representation

Small ReactJS application to fetch some classic dad jokez

Awesome Lists containing this project

README

        

![Build Status Badge](https://github.com/josh-mchugh/reactjs-dad-joke-app/actions/workflows/main.yml/badge.svg)
[![code coverage badge](https://codecov.io/gh/josh-mchugh/react-dad-joke-widget/branch/main/graph/badge.svg?token=nHAocDlz0F)](https://codecov.io/gh/josh-mchugh/react-dad-joke-widget)

# ReactJS Dad Joke App
This is a small and simple ReactJS project to incorporate the material which I have read from Fullstack React. It's focus was to create an application that uses components and have props be passed down to the components while having the top component maintain the application state.

This application uses the dad joke API from https://icanhazdadjoke.com/. The app has a simple interface with one button which the user can click to retrieve one or many dad jokes.

Example GIF:
![Example of ReactJS Dad Jokes](./documentation/example.gif)

## Running the appplication

Run app locally
```shell
npm run dev
```

Run tests
```shell
npm run test
```

Create a build
```shell
npm run build
```