This is the second project in the React Nanodegree Program by Udacity.
The aim is to use React and Redux to build a web app 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 the 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.
The project has been bootstrapped using Create React App.
To get started:
- install all project dependencies with
yarn install
- start the app with
yarn start
- access the app on http://localhost:3000/
To simplify the development process, Udacity has provided a pseudo backend server for students to develop against. The starter code contains the methods needed to perform necessary operations on the backend. The required files have been incorporated into this project.
As the app works with a pseudo backend server, there is no data persistence and hence, any new questions or answers will be lost by performing a browser refresh.
- Login
- Home
- Question
- Answer
- New Question
- Leaderboard