A Drogon (C++) API fixture for testing api2spec.
GET /health- Health checkGET /health/ready- Readiness check
GET /users- List all usersGET /users/{id}- Get user by IDPOST /users- Create a new userPUT /users/{id}- Update a userDELETE /users/{id}- Delete a userGET /users/{userId}/posts- Get posts by user
GET /posts- List all postsGET /posts/{id}- Get post by IDPOST /posts- Create a new post
docker compose up --buildThe server will be available at http://localhost:8080
Requires Drogon framework installed.
cmake -B build
cmake --build build
./build/server