All Projects → dternyak → React Redux Flask

dternyak / React Redux Flask

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

Programming Languages

javascript
184084 projects - #8 most used programming language
python
139335 projects - #7 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to React Redux Flask

angular-material-starter-template
🍄 Angular 14 boilerplate that comes with Material-UI, Tailwind3, Purgecss, Jest & Cypress Support, Optimal project structure & Interceptor inspired from popular blogs, source map analyzer tools, husky, all pre-configured and much more...
Stars: ✭ 104 (-92.73%)
Mutual labels:  material-ui, boilerplate-application
Weeklyreport
基于Flask的开源周报系统,快速docker部署
Stars: ✭ 102 (-92.87%)
Mutual labels:  flask
React Flask App
A Flask + React demo application.
Stars: ✭ 98 (-93.15%)
Mutual labels:  flask
Fable Elmish Electron Material Ui Demo
Complete boilerplate for Electron apps using Fable and Elmish with hot module reloading, time-travel debugging, etc.
Stars: ✭ 101 (-92.94%)
Mutual labels:  material-ui
Leetcode Country Ranking
Find Leetcode ranking by country, username.
Stars: ✭ 98 (-93.15%)
Mutual labels:  flask
Cardview
Material Design Cards ? How cool is that !
Stars: ✭ 101 (-92.94%)
Mutual labels:  material-ui
Flask Dashboard Adminlte
AdminLTE Flask - Open-source Seed Project | AppSeed
Stars: ✭ 95 (-93.36%)
Mutual labels:  flask
Imagegonord
A tool that can convert your rgb images to nordtheme palette
Stars: ✭ 105 (-92.66%)
Mutual labels:  flask
Grest
Build REST APIs with Neo4j and Flask, as quickly as possible!
Stars: ✭ 102 (-92.87%)
Mutual labels:  flask
Votr
🌟 A polling application built with Flask and React
Stars: ✭ 100 (-93.01%)
Mutual labels:  flask
Flask bestpractices
Flask最佳实践
Stars: ✭ 100 (-93.01%)
Mutual labels:  flask
Personal Income Tax Calculator
2019个税计算器
Stars: ✭ 99 (-93.08%)
Mutual labels:  material-ui
Python Examples
Python examples from my answers on Stackoverflow and other short scripts.
Stars: ✭ 101 (-92.94%)
Mutual labels:  flask
Booklibrary
📚Simple Book library application written on flask with SQLite database.
Stars: ✭ 98 (-93.15%)
Mutual labels:  flask
Mdwiki
markdown wiki by python
Stars: ✭ 102 (-92.87%)
Mutual labels:  flask
Flask movie site
用Flask构建一个微电影视频网站
Stars: ✭ 97 (-93.22%)
Mutual labels:  flask
Pyflask 2k18
A workshop organised by ACM VIT every year, during Gravitas (VIT University, Tech Fest), Having sessions on python programming and website creation using flask.
Stars: ✭ 99 (-93.08%)
Mutual labels:  flask
Betanin
beets based mitm of your torrent client and music player
Stars: ✭ 101 (-92.94%)
Mutual labels:  flask
Multivisor
Centralized supervisor WebUI and CLI
Stars: ✭ 104 (-92.73%)
Mutual labels:  flask
Ruui
React's cross-platform UI for Web and Native (Android, iOs)
Stars: ✭ 103 (-92.8%)
Mutual labels:  material-ui

React-Redux-Flask

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

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

screenshot

Create DB

$ export DATABASE_URL="postgresql://username:password@localhost/mydatabase"

or

$ export DATABASE_URL="mysql+mysqlconnector://username:password@localhost/mydatabase"

or

$ export DATABASE_URL="sqlite:///your.db"

(More about connection strings in this flask config guide.)

$ python manage.py create_db
$ python manage.py db upgrade
$ python manage.py db migrate

To update database after creating new migrations, use:

$ python manage.py db upgrade

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

New to Python?

If you are approaching this demo as primarily a frontend dev with limited or no python experience, you may need to install a few things that a seasoned python dev would already have installed.

Most Macs already have python 2.7 installed but you may not have pip install. You can check to see if you have them installed:

$ python --version
$ pip --version 

If pip is not installed, you can follow this simple article to get both homebrew and python

After you install python, you can optionally also install python 3

$ brew install python3

Now you can check again to see if both python and pip are installed. Once pip is installed, you can download the required flask modules:

$ sudo pip install flask flask_script flask_migrate flask_bcrypt 

Now, you can decide on which database you wish to use.

New to MySQL?

If you decide on MySQL, install the free community edition of MySQL and MySQL Workbench

  1. start MySQL from the System Preferences
  2. open MySQL Workbench and create a database called mydatabase but don't create the tables since python will do that for you
  3. Install the MySQL connector for Python, add the DATABASE_URL configuration, and create the database and tables
$ sudo pip install mysql-connector-python-rf
$ export DATABASE_URL="mysql+mysqlconnector://username:password@localhost/mydatabase"
$ python manage.py create_db

Note: you do not need to run "python manage.py db upgrade" or "python manage.py db migrate" if its your first go at it

  1. Run Back-End
$ python manage.py runserver

If all goes well, you should see * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) followed by a few more lines in the terminal.

  1. open a new tab to the same directory and run the front end
$ cd static
$ npm install
$ npm start
  1. open your browser to http://localhost:3000/register and setup your first account
  2. enjoy! By this point, you should be able to create an account and login without errors.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].