React & Redux - Would You Rather
This is React application is an assignment to the second project in Udacity's React Nanodegree - React & Redux
Getting started
To launch the application simple run the following commands
yarn install
yarn start
or, if you don't have yarn
installed, simply run the following npm
scripts
npm install
npm start
To build the application for deployment simple run either one of the following commands
yarn build
npm run build
Further reading and learning material
As mentioned in the code review from Udacity's staff memebrs, here is a list of further resources:
- article about how authentication works with full stack applications: https://auth0.com/blog/reactjs-authentication-tutorial/
- to save some legwork one of several UI libraries like the following might be interesting: http://www.material-ui.com/
- for more about building proper form validation and applying optimal form development practices, the folling Udacity course might be intersting: https://www.udacity.com/course/building-high-conversion-web-forms--ud890
- the axios library utilizes promises with react-redux: https://github.com/mzabriskie/axios
- great tutorial on action creators in react-redux: https://www.valentinog.com/blog/react-redux-tutorial-beginners/#React_Redux_tutorial_getting_to_know_Redux_actions
- another course on better object oriented Javascript: https://www.udacity.com/course/object-oriented-javascript--ud015
- moving action constants into separate file: Here’s a fantastic article explaining why this is important: https://stackoverflow.com/questions/34965856/what-is-the-point-of-the-constants-in-redux
- blog article on improving react-redux applicaton scalability: https://medium.com/@alexmngn/how-to-use-redux-on-highly-scalable-javascript-applications-4e4b8cb5ef38
- article about react lifecycle methods: http://busypeoples.github.io/post/react-component-lifecycle/
- article on testing react applications with jest: https://auth0.com/blog/testing-react-applications-with-jest/