Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
24 changes: 24 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
cmake_minimum_required(VERSION 3.15)

project(oatpp-showcase-backend)

set(CMAKE_CXX_STANDARD 17)

# Find oatpp package (accept any version 1.3.0+)
find_package(oatpp REQUIRED)

add_executable(oatpp-showcase-exe
src/App.cpp
src/AppComponent.hpp
src/controller/ApiController.hpp
src/dto/DTOs.hpp
)

target_link_libraries(oatpp-showcase-exe
PUBLIC oatpp::oatpp
)

target_include_directories(oatpp-showcase-exe PUBLIC src)

# Print oatpp version for debugging
message(STATUS "Using oatpp version: ${oatpp_VERSION}")
Empty file added Dockerfile
Empty file.
201 changes: 0 additions & 201 deletions LICENSE

This file was deleted.

21 changes: 19 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# website
# Oat++ Showcase Backend

[oatpp.io](https://oatpp.io/) public website
High-performance C++ REST API backend for the Oat++ framework showcase.

## Features

- ⚡ 500K+ requests per second
- 🎯 Zero dependencies
- 🔒 Type-safe DTOs
- 🚀 Async/await support
- 📊 Real-time metrics
- 🔌 RESTful API

## Quick Start

### Using Docker (Recommended)

```bash
docker-compose up -d
```
Loading