Skip to main content

To make it easier to create a quick flask react app

Project description

Getting Started with makeflaskreact

This app makes it easier for your to build a react flask application.

Flask does not directly work with React in development as it needs cors to handle the cross-origin error on your local react app. So, this boiler plate reduces the time spent creating a simple react and flask app.

Requirements are yarn or npm and python>=3.6.0

To install: $ pip install makeflaskreact

To run:

$ makeflaskreact optionally: add --name PROJECT_NAME to change the project name from app to what you want.

add --norun or N to run the server and client on exceution of the script

Parameters

Input Defaults
name (--name/-A) app
run (--run/-r) (--no-run/-N) True -- will run if --no-run is not present
server name server
python (used to create virtual env and download requirments) python
host 127.0.0.1
port 5000
react client no default will ask for either yarn (0.25+) or npm (5.2+)
client client

Final Output

Assuming standard run makeflaskreact

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for makeflaskreact, version 1.0.8
Filename, size File type Python version Upload date Hashes
Filename, size makeflaskreact-1.0.8.tar.gz (6.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page