Goal:
- develop a REST API with django and django-rest-framework
- develop a react.js frontend application served by django to consume the API
- react code as STATIC files
- npm to manage frontend dependencies
- use a bundler to put all js code together and feed the browser
- use ES6 specifications (translated into ES5 compilant code by babel)
- django
- django-rest-framework
- node (npm)
- webpack (packaging for the browser)
- babel (processing, transforming, bla bla
- react
- jest (testing)
- http://survivejs.com/webpack_react/webpack_and_react/
- https://blog.risingstack.com/the-react-way-getting-started-tutorial/
- http://geezhawk.github.io/2016/02/02/using-react-with-django-rest-framework.html
- https://facebook.github.io/jest/docs/tutorial-react.html#content
- https://medium.com/@arqex/react-the-simple-way-cabdf1f42f12#.jk2yztn7e
- https://facebook.github.io/flux/docs/todo-list.html#content
- http://teropa.info/blog/2015/09/10/full-stack-redux-tutorial.html
- https://blog.risingstack.com/using-react-with-webpack-tutorial/
Inside ROOT (where manage.py resides)
$ ./app/node_modules/.bin/webpack --config app/webpack.config.js --watch