├── .gitignore ├── LICENSE ├── README.md ├── azure-pipelines.yml ├── book-service ├── .dockerignore ├── CMakeLists.txt ├── Dockerfile ├── README.md ├── src │ └── book-service │ │ ├── App.cpp │ │ ├── AppComponent.hpp │ │ ├── Constants.hpp │ │ ├── Runner.cpp │ │ ├── Runner.hpp │ │ ├── SwaggerComponent.hpp │ │ ├── controller │ │ └── BookController.hpp │ │ ├── db │ │ ├── Database.cpp │ │ ├── Database.hpp │ │ └── model │ │ │ └── Book.hpp │ │ └── dto │ │ └── BookDto.hpp ├── test │ └── book-service │ │ └── tests.cpp └── utility │ └── install-oatpp-modules.sh ├── ci-install-oatpp-modules.sh ├── diagram.svg ├── facade ├── .dockerignore ├── CMakeLists.txt ├── Dockerfile ├── README.md ├── src │ └── facade │ │ ├── App.cpp │ │ ├── AppComponent.hpp │ │ ├── Constants.hpp │ │ ├── Runner.cpp │ │ ├── Runner.hpp │ │ ├── SwaggerComponent.hpp │ │ ├── controller │ │ ├── BookController.hpp │ │ └── UserController.hpp │ │ ├── dto │ │ ├── BookDto.hpp │ │ ├── BookInfoDto.hpp │ │ └── UserDto.hpp │ │ └── service │ │ ├── BookService.hpp │ │ └── UserService.hpp ├── test │ └── facade │ │ └── tests.cpp └── utility │ └── install-oatpp-modules.sh ├── monolith └── all-services │ ├── App.cpp │ ├── CMakeLists.txt │ └── build-all.sh ├── run_all_microservices.sh └── user-service ├── .dockerignore ├── CMakeLists.txt ├── Dockerfile ├── README.md ├── src └── user-service │ ├── App.cpp │ ├── AppComponent.hpp │ ├── Constants.hpp │ ├── Runner.cpp │ ├── Runner.hpp │ ├── SwaggerComponent.hpp │ ├── controller │ └── UserController.hpp │ ├── db │ ├── Database.cpp │ ├── Database.hpp │ └── model │ │ └── User.hpp │ └── dto │ └── UserDto.hpp ├── test └── user-service │ └── tests.cpp └── utility └── install-oatpp-modules.sh /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/README.md -------------------------------------------------------------------------------- /azure-pipelines.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/azure-pipelines.yml -------------------------------------------------------------------------------- /book-service/.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/book-service/.dockerignore -------------------------------------------------------------------------------- /book-service/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/book-service/CMakeLists.txt -------------------------------------------------------------------------------- /book-service/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/book-service/Dockerfile -------------------------------------------------------------------------------- /book-service/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /book-service/src/book-service/App.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/book-service/src/book-service/App.cpp -------------------------------------------------------------------------------- /book-service/src/book-service/AppComponent.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/book-service/src/book-service/AppComponent.hpp -------------------------------------------------------------------------------- /book-service/src/book-service/Constants.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/book-service/src/book-service/Constants.hpp -------------------------------------------------------------------------------- /book-service/src/book-service/Runner.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/book-service/src/book-service/Runner.cpp -------------------------------------------------------------------------------- /book-service/src/book-service/Runner.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/book-service/src/book-service/Runner.hpp -------------------------------------------------------------------------------- /book-service/src/book-service/SwaggerComponent.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/book-service/src/book-service/SwaggerComponent.hpp -------------------------------------------------------------------------------- /book-service/src/book-service/controller/BookController.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/book-service/src/book-service/controller/BookController.hpp -------------------------------------------------------------------------------- /book-service/src/book-service/db/Database.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/book-service/src/book-service/db/Database.cpp -------------------------------------------------------------------------------- /book-service/src/book-service/db/Database.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/book-service/src/book-service/db/Database.hpp -------------------------------------------------------------------------------- /book-service/src/book-service/db/model/Book.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/book-service/src/book-service/db/model/Book.hpp -------------------------------------------------------------------------------- /book-service/src/book-service/dto/BookDto.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/book-service/src/book-service/dto/BookDto.hpp -------------------------------------------------------------------------------- /book-service/test/book-service/tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/book-service/test/book-service/tests.cpp -------------------------------------------------------------------------------- /book-service/utility/install-oatpp-modules.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/book-service/utility/install-oatpp-modules.sh -------------------------------------------------------------------------------- /ci-install-oatpp-modules.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/ci-install-oatpp-modules.sh -------------------------------------------------------------------------------- /diagram.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/diagram.svg -------------------------------------------------------------------------------- /facade/.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/facade/.dockerignore -------------------------------------------------------------------------------- /facade/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/facade/CMakeLists.txt -------------------------------------------------------------------------------- /facade/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/facade/Dockerfile -------------------------------------------------------------------------------- /facade/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /facade/src/facade/App.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/facade/src/facade/App.cpp -------------------------------------------------------------------------------- /facade/src/facade/AppComponent.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/facade/src/facade/AppComponent.hpp -------------------------------------------------------------------------------- /facade/src/facade/Constants.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/facade/src/facade/Constants.hpp -------------------------------------------------------------------------------- /facade/src/facade/Runner.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/facade/src/facade/Runner.cpp -------------------------------------------------------------------------------- /facade/src/facade/Runner.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/facade/src/facade/Runner.hpp -------------------------------------------------------------------------------- /facade/src/facade/SwaggerComponent.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/facade/src/facade/SwaggerComponent.hpp -------------------------------------------------------------------------------- /facade/src/facade/controller/BookController.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/facade/src/facade/controller/BookController.hpp -------------------------------------------------------------------------------- /facade/src/facade/controller/UserController.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/facade/src/facade/controller/UserController.hpp -------------------------------------------------------------------------------- /facade/src/facade/dto/BookDto.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/facade/src/facade/dto/BookDto.hpp -------------------------------------------------------------------------------- /facade/src/facade/dto/BookInfoDto.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/facade/src/facade/dto/BookInfoDto.hpp -------------------------------------------------------------------------------- /facade/src/facade/dto/UserDto.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/facade/src/facade/dto/UserDto.hpp -------------------------------------------------------------------------------- /facade/src/facade/service/BookService.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/facade/src/facade/service/BookService.hpp -------------------------------------------------------------------------------- /facade/src/facade/service/UserService.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/facade/src/facade/service/UserService.hpp -------------------------------------------------------------------------------- /facade/test/facade/tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/facade/test/facade/tests.cpp -------------------------------------------------------------------------------- /facade/utility/install-oatpp-modules.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/facade/utility/install-oatpp-modules.sh -------------------------------------------------------------------------------- /monolith/all-services/App.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/monolith/all-services/App.cpp -------------------------------------------------------------------------------- /monolith/all-services/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/monolith/all-services/CMakeLists.txt -------------------------------------------------------------------------------- /monolith/all-services/build-all.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/monolith/all-services/build-all.sh -------------------------------------------------------------------------------- /run_all_microservices.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/run_all_microservices.sh -------------------------------------------------------------------------------- /user-service/.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/user-service/.dockerignore -------------------------------------------------------------------------------- /user-service/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/user-service/CMakeLists.txt -------------------------------------------------------------------------------- /user-service/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/user-service/Dockerfile -------------------------------------------------------------------------------- /user-service/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /user-service/src/user-service/App.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/user-service/src/user-service/App.cpp -------------------------------------------------------------------------------- /user-service/src/user-service/AppComponent.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/user-service/src/user-service/AppComponent.hpp -------------------------------------------------------------------------------- /user-service/src/user-service/Constants.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/user-service/src/user-service/Constants.hpp -------------------------------------------------------------------------------- /user-service/src/user-service/Runner.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/user-service/src/user-service/Runner.cpp -------------------------------------------------------------------------------- /user-service/src/user-service/Runner.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/user-service/src/user-service/Runner.hpp -------------------------------------------------------------------------------- /user-service/src/user-service/SwaggerComponent.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/user-service/src/user-service/SwaggerComponent.hpp -------------------------------------------------------------------------------- /user-service/src/user-service/controller/UserController.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/user-service/src/user-service/controller/UserController.hpp -------------------------------------------------------------------------------- /user-service/src/user-service/db/Database.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/user-service/src/user-service/db/Database.cpp -------------------------------------------------------------------------------- /user-service/src/user-service/db/Database.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/user-service/src/user-service/db/Database.hpp -------------------------------------------------------------------------------- /user-service/src/user-service/db/model/User.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/user-service/src/user-service/db/model/User.hpp -------------------------------------------------------------------------------- /user-service/src/user-service/dto/UserDto.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/user-service/src/user-service/dto/UserDto.hpp -------------------------------------------------------------------------------- /user-service/test/user-service/tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/user-service/test/user-service/tests.cpp -------------------------------------------------------------------------------- /user-service/utility/install-oatpp-modules.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oatpp/example-microservices/HEAD/user-service/utility/install-oatpp-modules.sh --------------------------------------------------------------------------------