Skip to content
Oatpp simple-API starter project
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
main updated to oatpp veraion 0.19.4 Apr 29, 2019
.dockerignore new project structure Jan 28, 2019
.gitignore clean up unnecessary code Feb 12, 2019
CMakeLists.txt new project structure Jan 28, 2019
Dockerfile new project structure Jan 28, 2019
LICENSE Initial commit Apr 25, 2018
README.md Update README.md Feb 7, 2019
azure-pipelines.yml new project structure Jan 28, 2019

README.md

oatpp-starter Build Status

oatpp simple-API starter project.

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 UserController 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 oatpp-starter .
$ docker run -p 8000:8000 -t oatpp-starter
You can’t perform that action at this time.