thisbejim / react-flask-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Flask example

Installation

Requires python and node.

  1. pip install flask
  2. cd client && npm install

Development

  1. In the client directory: npm start
  2. In a separate terminal, in the root directory: python run.py
  3. Go to http://localhost:3000/

Production

  1. In the client directory: npm run build
  2. After the build finishes: In the root directory: python run.py
  3. Go to http://localhost:5000/

About


Languages

Language:HTML 71.3%Language:JavaScript 21.6%Language:Python 7.1%