Skip to content

Boilerplate application for a Python/Flask JWT Backend and a Javascript/React/Redux Front-End with Material UI.

License

Notifications You must be signed in to change notification settings

gaelsimon/React-Redux-Flask

 
 

Repository files navigation

React-Redux-Flask

Boilerplate application for a Flask JWT Backend and a React/Redux Front-End with Material UI.

  • Python 2.7
  • Pytest
  • Heroku
  • Flask
  • React
  • Redux
  • React-Router 2.0
  • React-Router-Redux
  • Babel 6
  • SCSS processing
  • Webpack

screenshot

Create DB

$ export DATABASE_URL="postgresql://localhost/yourdb"
$ python manage.py create_db
$ python manage.py db init
$ python manage.py db migrate
$ python manage.py db upgrade

Install Front-End Requirements

$ cd static
$ npm intall

Run Back-End

$ python manage.py runserver

Test Back-End

$ python test.py --cov-report=term --cov-report=html --cov=application/ tests/

Run Front-End

$ cd static
$ npm start

Build Front-End

$ npm run build:production

About

Boilerplate application for a Python/Flask JWT Backend and a Javascript/React/Redux Front-End with Material UI.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 44.0%
  • HTML 42.1%
  • Python 9.0%
  • CSS 4.6%
  • Mako 0.3%