Skip to content

ahmedmorad101/would-you-rather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c5a0766 · Nov 22, 2021

History

20 Commits
Nov 17, 2021
Nov 22, 2021
Nov 11, 2021
Nov 21, 2021
Nov 21, 2021
Nov 21, 2021

Repository files navigation

Would you rather

Would you rather is a small web app that lets a user play the “Would You Rather?” game. The game goes like this: A user is asked a question in the form: “Would you rather [option A] or [option B] ?”

Installation

install all project dependencies with

npm install

start the development server with

npm start

Project Structure

├── App.js
├── assets
│   └── css
│       └── style.css
├── components
│   ├── NoQuestions.js
│   └── QuestionContent.js
├── data
│   └── _users.js
├── index.js
├── pages
│   ├── Home.js
│   ├── Layout.js
│   ├── Leaderboard.js
│   ├── Login.js
│   ├── NewPoll.js
│   ├── NotFound.js
│   ├── Question.js
│   ├── Questions.js
│   └── RequiredAuth.js
├── reportWebVitals.js
├── setupTests.js
├── src.txt
└── store
    ├── actions.js
    ├── index.js
    ├── reducer.js
    └── types.js

Packages

  • Semantic UI React

    • installation : npm install semantic-ui-react semantic-ui-css
    • add the following line to index.js import 'semantic-ui-css/semantic.min.css'
  • React Router npm install react-router-dom@6

  • React Redux npm install react-redux redux

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published