Giter VIP home page Giter VIP logo

dad-jokes's Introduction

Dad Jokes App

React Font-Awesome Vercel

Table of Contents
  1. About The Project
  2. Getting Started
  3. Contributing

About The Project

React App that lets people view and vote on cheesy jokes from icanhazdadjoke API

Preview

Features

  • List jokes fetched from icanhazdadjoke API, along with:
    • "vot-up" Button
    • "vot-down" Button
    • net score for each joke
  • User can vote and net score should update
  • Should show loading state when loading jokes
  • Should show the jokes sorted by net score, and update this as the scores changes on each fetch
  • Should show dynamic vote-border-color and emoji based on joke net vote score
  • Should persist the list of jokes in local storage
    • When user visit the app, it should show saved jokes, rather than fetching new jokes, However the user should still be able to generate new jokes via the "New Jokes" button, and these new jokes should update the ones in local storage.

(back to top)


Getting Started

This project require some perquisites and dependencies to be installed, you can view it online using this demo. or you can find the instructions below:

To get a local copy, follow these simple steps :

Installation

installing Locally

  1. Clone the repo

    git clone https://github.com/SayedShehata1/Dad-Jokes.git
  2. go to project folder

    cd dad-jokes
  3. install dependencies

    npm install
  4. Run development server

    npm start

Ports and EndPoints

Ports

  • FrontEnd Development Server runs on port 3000

API endpoints

(back to top)

(back to top)

dad-jokes's People

Contributors

sayedshehata1 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.