【文件属性】:
文件名称:example-mongodb:示例项目如何与MongoDB一起使用
文件大小:17KB
文件格式:ZIP
更新时间:2021-02-15 18:17:21
mongodb cpp example oatpp C++
示例mongodb
示例项目如何使用 mondule使用MongoDB。 Project是具有基本CRUD和Swagger-UI的Web服务。 包含Dockerfile和docker-compose.yaml文件。
有关Oat ++的更多信息:
概述
依存关系
临时依赖。 在oatpp-mongo驱动程序可以使用之前,*
项目布局
|- CMakeLists.txt // projects CMakeLists.txt
|- src/
| |
| |- controller/ // Folder containing Controller where all endpoints are declared
| |- db/
【文件预览】:
example-mongodb-master
----src()
--------db()
--------dto()
--------App.cpp(2KB)
--------controller()
--------SwaggerComponent.hpp(1KB)
--------AppComponent.hpp(3KB)
----Dockerfile(326B)
----utility()
--------install-oatpp-modules.sh(831B)
----CMakeLists.txt(2KB)
----LICENSE(11KB)
----test()
--------tests.cpp(953B)
----README.md(3KB)
----azure-pipelines.yml(840B)
----docker-compose.yaml(357B)
----.gitignore(369B)