Would You Rather is a web app build with react 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] ?”. Answering "neither" or "both" is against the rules.
In your app, users will be able to answer questions, see which questions they haven’t answered, see how other people have voted, post questions, and see the ranking of users on the leaderboard.
You can see a live demo of the project here
To setup the project locally you need npm or Yarn.
- npm
npm install # install the dependencies
npm start # run the server
- Yarn
yarn install # install the dependencies
yarn start # run the server
Project uses a mock API to store data. So the data will be cleared when the page reloads.
This project was bootstrapped with Create React App. You can find more information on how to perform common tasks here.