"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.
- Node - A Javascript runtime environment.
- React - A Javascript library for building user interfaces.
- A package manager - yarn or NPM
Clone the repository:
git clone https://github.com/Qadriyah/would-you-rather.git
Then change to the project directory:
cd would-you-rather
npm install
This will install all the dependencies defined in the package.json
file inside the project root directory.
npm start
This will run the application and it can be accessed at:
localhost:3000