【文件属性】:
文件名称:处方药
文件大小:30KB
文件格式:ZIP
更新时间:2021-02-12 02:37:37
Python
处方药
负责处方注册的申请
先决条件
设置开发
创建virtualenv并安装依赖项:
make install
建立资料库
make infra-up
设置环境变量
ENV=development
POSTGRE_URL=postgresql+psycopg2://usr_prescription:secret@localhost:5432/prescription_db
PATIENTS_API_URL=https://url/v1
PATIENTS_API_TOKEN_AUTH="Bearer token"
PATIENTS_API_MAX_RETRY=2
PATIENTS_API_TIMEMOUT=3
PHYSICIANS_API_URL=https://url/v1
PHYSICIANS_API_TOKEN_AUTH="Bearer token"
PHYS
【文件预览】:
prescriptions-api-main
----.github()
--------workflows()
----Procfile(92B)
----create-database-dev.sh(278B)
----setup.cfg(1KB)
----requirements.txt(248B)
----docker-compose.yml(337B)
----.gitignore(2KB)
----Makefile(1KB)
----README.md(2KB)
----prescriptions()
--------models()
--------exception()
--------infrastructure()
--------repository()
--------http()
--------api()
--------schemas()
--------__init__.py(0B)
--------config.py(1KB)
--------service()