Skip to content

mehmetyagci/Would-You-Rather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Would You Rather...?

Would You Rather is the second project for the Udacity React Nanodegree program. The application created using React, Redux, React Router, Semantic UI etc... This application is a recreation of the classic game, Would You Rather. A user can login and submit reponses to the number of different Would You Rather questions that have been asked. A user can also add new questions to be answered as well as see where they rank among all users on the questions asked/answered Leaderboards.

Demo

You can see a live demo of the project here

Installation

In the project directory, you can run:

  1. You have Node.js, npm and yarn installed.
  2. Proceed with cloning or downloading the project as a zip.
  3. Extract and change directory to the project folder.
  4. Run yarn install
  5. Then run yarn start
  6. Your default browser should open at port 3000 with the address: http://localhost:3000
  7. You should be connected to the Internet as the app accesses images (user avatars) and the Semantic-UI CSS file from a CDN.

For reference, this project was bootstrapped with Create React App.

Login

  • Select a user as auth user
    Login

Home

  • shows polls divided in 2 sections, answered and unanswered Would Your Rather Home - React Redux app

Create Question

  • is used to submit new poll New Question

Poll Details View

  • is used to answer a poll or to view responses of all users/ statistics for a question

Unanswered Questions

Answer Question

Answered Questions

Question Results

LeaderBoard

  • shows ranking of users based on total number of answered and unanswered polls Leaderboard

Logout

  • Clicking the logout the user is logged out and the login page is shown.

Backend Server

Currently _DATA.js file is used to mock backend. Read backend may be added in future

Rubric & Resources:

About

Would You Rather

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published