dddpy:使用FastAPI的Python DDD示例

时间:2021-05-17 23:54:05
【文件属性】:
文件名称:dddpy:使用FastAPI的Python DDD示例
文件大小:85KB
文件格式:ZIP
更新时间:2021-05-17 23:54:05
python ddd-architecture ddd-example Python Python DDD示例和技术 注意:此存储库是一个示例,用于解释“如何在Python Web应用程序上实现DDD架构”。 如果您将其用作参考,请在部署到现实世界之前添加身份验证和安全性的实现!! 科技栈 代码架构 目录结构(基于 ): ├── main.py ├── dddpy │   ├── domain │   │   └── book │   │   ├── book.py # Entity │   │   ├── book_exception.py # Exception definitions │   │   ├── book_repository.py # Repository interface │   │   └── isbn.py # Value Object │   ├── infrastructure │   │   └
【文件预览】:
dddpy-main
----poetry.lock(54KB)
----pyproject.toml(534B)
----main.py(5KB)
----db()
--------.gitkeep(0B)
----logging.conf(803B)
----.github()
--------workflows()
----screenshots()
--------openapi_doc.png(45KB)
----tests()
--------infrastructure()
--------domain()
--------__init__.py(0B)
--------usecase()
----LICENSE(1KB)
----dddpy()
--------infrastructure()
--------domain()
--------__init__.py(0B)
--------usecase()
--------presentation()
----.devcontainer()
--------Dockerfile(90B)
--------devcontainer.json(1KB)
----.gitignore(2KB)
----Makefile(537B)
----README.md(7KB)
----.vscode()
--------launch.json(503B)
--------settings.json(271B)

网友评论