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.2.tar.gz
(3.8 kB
view details)
File details
Details for the file makeflaskreact-1.0.2.tar.gz.
File metadata
- Download URL: makeflaskreact-1.0.2.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9a6ac8acd0c10327bb3467a4b4a66b3f25eab9998ce5b21866302ee7105d7e6
|
|
| MD5 |
5f2f5646b61a9182d0d05ff66bdcf721
|
|
| BLAKE2b-256 |
4bffe28ebb4fd298d091e92b186c8190fbc1716498b5d3e7e6d4b6a3e1c7d1e3
|