Re:Django React Redux JWT Base Project
by lfrodrigues on Tuesday February 16, 2016 @06:32PM
(#11113967)
You're right. I copy pasted some code from some projects to build this generic one. A colleague will fix it in a few minutes :)
[ Parent
| on HN ]
Re:Django React Redux JWT Base Project
by rahimnathwani on Tuesday February 16, 2016 @10:51PM
(#11115137)
Including the 'accounts' app is actually pretty useful. Then even a newcomer to react and redux can see how the front and back end are hooked up.
I'd encourage anyone to look at these files:
Auth action (which depends on the accounts app and DRF): https://github.com/Seedstars/django-react-redux-jwt-base/blo...
Auth Reducer (which changes redux state based on the outcome of login/logout actions): https://github.com/Seedstars/django-react-redux-jwt-base/blo...