An example of a flask api integration with cookie-based authentication and CRA.
React structure inspired by this container pattern.
Auth managed via flask-login.
Redux actions/reducers based on login-flow.
cd client
nvm use
npm install
npm start
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
python run.py
Api calls will be proxied on local to localhost:5000
through the webpack proxy.
npm run prettier