# oatpp-starter **Repository Path**: zhangming8/oatpp-starter ## Basic Information - **Project Name**: oatpp-starter - **Description**: https://github.com/oatpp/oatpp-starter - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2021-12-23 - **Last Updated**: 2023-09-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # oatpp-starter [![Build Status](https://dev.azure.com/lganzzzo/lganzzzo/_apis/build/status/oatpp.oatpp-starter?branchName=master)](https://dev.azure.com/lganzzzo/lganzzzo/_build/latest?definitionId=10&branchName=master) Starter project of oat++ (AKA oatpp) application. Based on oatpp Multithreaded (Simple) API. See more: - [Oat++ Website](https://oatpp.io/) - [Oat++ Github Repository](https://github.com/oatpp/oatpp) - [Get Started](https://oatpp.io/docs/start) ## Overview ### Project layout ``` |- CMakeLists.txt // projects CMakeLists.txt |- src/ | | | |- controller/ // Folder containing MyController where all endpoints are declared | |- dto/ // DTOs are declared here | |- AppComponent.hpp // Service config | |- App.cpp // main() is here | |- test/ // test folder |- utility/install-oatpp-modules.sh // utility script to install required oatpp-modules. ``` --- ### Build and Run #### Using CMake **Requires** - `oatpp` module installed. You may run `utility/install-oatpp-modules.sh` script to install required oatpp modules. ``` $ mkdir build && cd build $ cmake .. $ make $ ./my-project-exe # - run application. ``` #### In Docker ``` $ docker build -t oatpp-starter . $ docker run -p 8000:8000 -t oatpp-starter ```