Simple boilerplate ready for development
- Currently supported frameworks are: FastApi, Flask
$ sudo pip3 install startapp
startapp --help
- Type startapp on terminal press enter, questions will promt on terminal choose accroding to your taste.
Right after your choice do the followings accrodingly:
for fastapi:
source .venv/bin/activate
export settings=dev
pip install -r requirements.txt
uvicorn app.main:app --reload --port 8007
for flask:
source .venv/bin/activate
pip install -r requirements.txt
export FLASK_APP=app.app
export settings=dev
flask run
Linux, MacOS
Fell free to open issue and send pull request.