/React-Redux-Flask-MongoDB

Awosome boilreplate for React Flask & MongoDB

Primary LanguageJavaScriptMIT LicenseMIT

React-Redux-Flask

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

  • Python 3.x
  • Pytest
  • Heroku
  • Flask
  • React
  • Redux
  • React-Router 2.0
  • React-Router-Redux
  • Babel 6
  • SCSS processing
  • Webpack

screenshot

Install Back-End Requirements

Using virtualenv recommended = no system-wide packages

$ mkdir venv && virtualenv -p python3 venv/demo
$ . venv/demo/bin/activate
$ pip install -r requirements.txt

Install Front-End Requirements

$ cd static
$ npm install

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