Skip to content

johnythomas/would-you-rather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Would You Rather

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.

Demo

You can see a live demo of the project here

Project Setup

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

Important

Project uses a mock API to store data. So the data will be cleared when the page reloads.

Create React App

This project was bootstrapped with Create React App. You can find more information on how to perform common tasks here.