This an online version of the 'Would You Rather' game, wherein people are able to create and ask each other questions that are grouped in pairs. For example, 'Would you rather visit Hawaii or Alaska?'
The application was built using React and Redux, with React rendering all of the user interfaces, and Redux storing the data. Users can choose among three avatars, and can ask, answer and view polls, as well as see a leaderboard that lists the avatar users in descending order based on the number of polls answered and created.
This was the second of three projects in the Udacity React Nanodegree Program.
In order to run this application on your local computer, do the following:
- Point your browser to https://github.com/webdevmateo/would-you-rather.
- Once there, click on the green "Clone or download" button.
- Then, you can either clone the repository or download a .zip file to your local computer.
- When you have local access, do the following:
- Launch a command line tool, such as Terminal.
- Navigate to the project's root directory, and run the following commands:
npm installnpm start
- Visit the site in your browser at
http://localhost:3000.
This project was created using the following dependencies: