Skip to content
Example project how-to use oatpp asynchronous API.
Branch: master
Clone or download

README.md

Async API Example Build Status

Example project how-to use oatpp asynchronous API.

More about oat++:

Overview

Project layout


- CMakeLists.txt               // project loader script. load and build dependencies 
- main/                        // main project directory
    |
    |- CMakeLists.txt          // projects CMakeLists.txt
    |- src/                    // source folder
    |- test/                   // test folder
    
- src/
    |
    |- controller/              // Folder containing controller where all endpoints are declared
    |- dto/                     // DTOs are declared here
    |- AppComponent.hpp         // Service config
    |- Logger.hpp               // Application Logger
    |- App.cpp                  // main() is here
    

Build and Run

Using CMake

$ mkdir build && cd build
$ cmake ..
$ make run        ## Download, build, and install all dependencies. Run project

In Docker

$ docker build -t example-async-api .
$ docker run -p 8000:8000 -t example-async-api
You can’t perform that action at this time.