【文件属性】:
文件名称:flask-rest-api:该程序显示如何使用postgre db,blueprint,sqlalchemy,棉花糖,wsgi和unittests来设置flaskrestapi
文件大小:7KB
文件格式:ZIP
更新时间:2021-02-05 07:11:59
python api flask sqlalchemy rest-api
Flask Rest API
该程序显示了如何使用postgre db,blueprint,sqlalchemy,棉花糖,wsgi,unittests来设置flaskrestapi
安装指南
克隆仓库
$ git clone https://github.com/bisratyalew/flask-rest-api.git
$ cd flask-rest-api
创建virtualenv
$ mkvirtualenv flask-rest-api
安装依赖
$ pip install -r requirements.txt
在开发机器上运行
python manage.py run
【文件预览】:
flask-rest-api-master
----.gitignore(761B)
----requirements.txt(161B)
----README.md(710B)
----tests()
--------__init__.py(2B)
--------company_test.py(2KB)
----wsgi.py(187B)
----manage.py(336B)
----flask_rest_app()
--------application.py(1KB)
--------__init__.py(103B)
--------config.py(431B)
--------companies()