Skip to content

1904labs/flask-react-base

Repository files navigation

flask-react-base

Flask application with react frontend

Prerequisites

  1. pipenv: Install pipenv via the instructions here: https://pypi.org/project/pipenv/
  2. node/npm: Install node.js and npm per the instructions here: https://www.npmjs.com/get-npm

Setup

1. Install your python environement

pipenv install

2. Install your node environment

npm install

3. Build your react app

npm run build

4. Run your app This will lauch the flask dev server on http://localhost:8080 A browser window should open automatically

npm run start