fastapi-example

时间:2021-04-17 11:05:12
【文件属性】:
文件名称:fastapi-example
文件大小:29KB
文件格式:ZIP
更新时间:2021-04-17 11:05:12
Python 带FastAPI的CRUD应用程序 该应用程序可以做什么? 该应用程序是具有FastAPI框架的REST API应用程序,它公开了以下端点。 /ping /notes/{id} ( GET请求) 您可以使用Docker或Kubernetes检查以上端点。 去做 应用程序 该应用程序可以与MySQL容器通信 该应用程序可以接受POST请求 应用程序可以接受PUT请求 该应用程序可以接受DELETE请求 统一记录方式 MySQL 使用Kubernetes启动MySQL容器 初始化容器时创建MySQL用户 其他 在本地介绍Argo CD 公开带有服务的Argo CD 介绍普罗米修斯 介绍Grafana 将日志发送到logstash 查看Kibana中的日志 在本地运行 您可以使用docker在本地测试应用程序。 > docker-compose up -d -
【文件预览】:
fastapi-example-master
----requirements.test.txt(30B)
----db()
--------schema.sql(324B)
--------data.sql(99B)
----.github()
--------pull_request_template.md(95B)
--------workflows()
----check-api-endpoints.sh(103B)
----docker-compose.yaml(1KB)
----integration_test()
--------requirements.txt(31B)
--------test_api_endpoints.py(632B)
----src()
--------Dockerfile(234B)
--------app()
--------unit_tests()
--------requirements.txt(47B)
----.gitignore(23B)
----k8s()
--------prometheus()
--------mysql()
--------fastapi()
----argocd()
--------setup()
--------projects()
----README.md(5KB)
----.pre-commit-config.yaml(1KB)

网友评论