This PR is basically just for ease-of-reviewing. I will merge it after I look over it myself. Included is:
setting up react-router routes in a better way (using some notion of a base layout, which children inherit from). killed header and footer cause they just belong in the base layout. still some work to be done here, though.
going to be more explicit on some of the Redux containers because we are both new to Redux so having these anonymous functions makes it hard to figure out whats going on.
make constants a little bit more clean and explicit, especially when inheriting. now instead of import { all, these, fucking, constants }, we can write import { constants } from 'constantsFile'; so the constants are additionally namespaced.
use redux-auth-wrapper to protect routes. TODO: make the redirect stuff actually work right.
kill Flask-Restful cause it's dumb and doesn't give us enough control; we're not writing a REST api right now.
This PR is basically just for ease-of-reviewing. I will merge it after I look over it myself. Included is:
react-router
routes in a better way (using some notion of a base layout, which children inherit from). killed header and footer cause they just belong in the base layout. still some work to be done here, though.import { all, these, fucking, constants }
, we can writeimport { constants } from 'constantsFile';
so the constants are additionally namespaced.Flask-Restful
cause it's dumb and doesn't give us enough control; we're not writing a REST api right now.npm install
that shit doe