Flixbox / would-you-rather

Udacity React Nanodegree: Project 2

Home Page:https://flixbox.github.io/would-you-rather/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Would You Rather?

code style: prettier GitHub last commit David

Would You Rather? is a game about choice. Log in, answer questions and make your own questions!

showcase

A hint about the list functionality...

The user can navigate through the questions one by one. All questions are sorted by timestamp and the user is able to filter them in the navigation bar. Click the filter button next to the user profile and see for yourself!

When the user applies their filter, they will be redirected and see their new filtered questions.

Starting the application

  • Install yarn.
  • Navigate to the repo.
  • Run yarn install.
  • Run yarn start.

Unit tests

To run the unit tests, run yarn run test. A menu will open and you will be able to select which tests you want to run.

Development

While you're running the server, feel free to adjust the files. The server files will be updated automatically and you'll see the changes in the browser.

Deployment

When you commit the code will be built and deployed automatically. This git hook can be configured in package.json.

Manual deployment

  • Configure your GitHub site in package.json.
  • Run yarn run deploy to deploy the site to GitHub Pages.

Guide (We're using HashRouter instead of BrowserRouter to get GitHub routing to work)

Demo

You can view the app here.

About

Udacity React Nanodegree: Project 2

https://flixbox.github.io/would-you-rather/


Languages

Language:JavaScript 98.7%Language:HTML 1.3%