Simple boilerplate ready for development
-
Currently supported frameworks are: FastApi, Flask
-
Django coming soon...
$ 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:
pipenv shell
export APP_SETTINGS=dev
pip install -requirements.txt or pipenv install
uvicorn app.main:app --reload --port 8007
for flask:
source .venv/bin/activate
pip install -requirements.txt
export FLASK_APP=app.app
export settings=dev
flask run
Linux, MacOS
Fell free to open issue and send pull request.