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.0.tar.gz
(3.7 kB
view details)
File details
Details for the file makeflaskreact-1.0.0.tar.gz.
File metadata
- Download URL: makeflaskreact-1.0.0.tar.gz
- Upload date:
- Size: 3.7 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 |
4b8f52b1f502ef1a52f221dd18661ca354cfe01326ac7625165895349a68ad5e
|
|
| MD5 |
71a740ad1ce310c7b0759a4fb19ecb36
|
|
| BLAKE2b-256 |
aa094aa7f26b3d50ce4f0765a1959bb03e83f6e0218602d841512e435cabe03d
|