Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 1.39 KB

README.md

File metadata and controls

52 lines (34 loc) · 1.39 KB

Would You Rather Project

"Would You Rather?" is a game where a user is asked a question in the form Would you rather [option A] or [option B]? The user can only select one answer. Selecting neither or both is not allowed.

It also allows a user to submit new polling questions. The users enters option A and option B of the question. Empty questions are not allowed. The user can also view the scores from all members on leaderboard.

Table of contents

Dependencies

  • Node - A Javascript runtime environment.
  • React - A Javascript library for building user interfaces.
  • A package manager - yarn or NPM

Prerequisites

Clone the repository:

git clone https://github.com/Qadriyah/would-you-rather.git

Then change to the project directory:

cd would-you-rather

To install the dependencies run:

npm install

This will install all the dependencies defined in the package.json file inside the project root directory.

Starting the application

npm start

This will run the application and it can be accessed at:

localhost:3000