Getting Started with makeflaskreact
I wanted to make a commmand line tool to easily generate a flask app that will work with React's cors issues because I have to rebuild this a lot.
To run $ pip install makeflaskreact
then $ makeflaskreact
optionally you could add a FOLDER_NAME and API_PATH name in that order.
the default folder name will be server and the default api path will be /api/
Options:
-f, --foldername TEXT Name of the folder for the new flask react server
-a, --apipath TEXT Name of the api path name for the flask server
-n, --norun TEXT This module will automatically run if unless you call
no run
-p, --port TEXT Set the port number for your app, will default to
5000
-h, --host TEXT Set host name for your app, will default to 127.0.0.1
--help Show this message and exit.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
makeflaskreact-1.0.1.tar.gz
(3.8 kB
view details)
File details
Details for the file makeflaskreact-1.0.1.tar.gz.
File metadata
- Download URL: makeflaskreact-1.0.1.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db6f5bb304714bfb087d2ef284b465b4fcb0a7a0caeb5b05ceb8c5c5c75dc4d3
|
|
| MD5 |
9cb1d47064e5196ceaf359d387e9c100
|
|
| BLAKE2b-256 |
e486cd8a3f607ab980677da048fd05b284fffd14bc5dc3c3de55696c99aec606
|