/would-you-rather-react

Second Project for Udacity React Nanodegree built with React and Redux

Primary LanguageJavaScript

Would You Rather Project

This project was created as part of Udacity React Nanodegree Program.

This application is created with React and Redux to manage state. Users have to login to create questions and also vote on questions other users have created. Authenication is mocked and users can view the leaderboard of votes based on number of questions asked and number of votes.

Packages used:

"react": "^16.4.2",
"react-addons-css-transition-group": "^15.6.2",
"react-bootstrap": "^0.32.3",
"react-dom": "^16.4.2",
"react-redux": "^5.0.7",
"react-redux-loading-bar": "^4.0.5",
"react-router-bootstrap": "^0.24.4",
"react-router-dom": "^4.3.1",
"react-scripts": "1.1.5",
"redux": "^4.0.0",
"redux-thunk": "^2.3.0"

Getting Started

The following instructions would get you started with the project on your local machine.

Prerequisites

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run eject

Note: this is a one-way operation. Once you eject, you can’t go back!

If you aren’t satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

npm run build fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify