Skip to content

matt-sm/create-react-flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maintainability

create-react-app + flask

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.

Start the frontend:

cd client
nvm use
npm install
npm start

Start the backend:

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.

Run prettier:

npm run prettier

About

An example of flask api integration with CRA

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published