In this "Would You Rather?" game, users are asked questions in the form: “Would you rather [option A] or [option B] ?”. Users' answers are recorded and a leaderboard is generated based on numbers of questions answered. After a user logs in, the user is shown all the answered and unasnwered questions. User can also create new questions which are then shown to other users to answer. Poll stats are generated for each question which shows percentage of users who picked each option for the question.
npm i
// To install all package dependencies.npm start
// To start the app.- Visit
http://localhost:3000/
in your browser.