{"id":19492801,"url":"https://github.com/oatpp/example-async-api","last_synced_at":"2025-04-25T20:30:40.797Z","repository":{"id":98397800,"uuid":"168257511","full_name":"oatpp/example-async-api","owner":"oatpp","description":"Example project how-to use oatpp asynchronous API.","archived":false,"fork":false,"pushed_at":"2024-04-22T21:25:35.000Z","size":26,"stargazers_count":18,"open_issues_count":2,"forks_count":14,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-21T03:25:35.014Z","etag":null,"topics":["asynchronous-api","cpp","oatpp"],"latest_commit_sha":null,"homepage":"https://oatpp.io/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oatpp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-30T01:21:59.000Z","updated_at":"2025-03-01T16:22:57.000Z","dependencies_parsed_at":"2024-11-07T00:25:12.283Z","dependency_job_id":"e71453e3-dfa3-4f80-aa80-adc999c6bd4a","html_url":"https://github.com/oatpp/example-async-api","commit_stats":{"total_commits":25,"total_committers":1,"mean_commits":25.0,"dds":0.0,"last_synced_commit":"b972426c186bb7366b009c2e996f73229d2b94db"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oatpp%2Fexample-async-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oatpp%2Fexample-async-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oatpp%2Fexample-async-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oatpp%2Fexample-async-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oatpp","download_url":"https://codeload.github.com/oatpp/example-async-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250816662,"owners_count":21492000,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["asynchronous-api","cpp","oatpp"],"created_at":"2024-11-10T21:23:05.145Z","updated_at":"2025-04-25T20:30:40.772Z","avatar_url":"https://github.com/oatpp.png","language":"C++","readme":"# Async API Example [![Build Status](https://dev.azure.com/lganzzzo/lganzzzo/_apis/build/status/oatpp.example-async-api?branchName=master)](https://dev.azure.com/lganzzzo/lganzzzo/_build?definitionId=16\u0026branchName=master)\n\nExample project how-to use oat++ (AKA oatpp) asynchronous API.\n\nSee more:\n\n- [Oat++ Website](https://oatpp.io/)\n- [Oat++ Github Repository](https://github.com/oatpp/oatpp)\n- [Get Started](https://oatpp.io/docs/start)\n\n## Overview\n\n### Project layout\n\n```\n|- CMakeLists.txt                        // projects CMakeLists.txt\n|- src/\n|    |\n|    |- controller/                      // Folder containing controller where all endpoints are declared\n|    |- dto/                             // DTOs are declared here\n|    |- AppComponent.hpp                 // Service config\n|    |- App.cpp                          // main() is here\n|\n|- test/                                 // test folder\n|- utility/install-oatpp-modules.sh      // utility script to install required oatpp-modules.\n```\n\n---\n\n### Build and Run\n\n#### Using CMake\n\n**Requires**\n\n- `oatpp` module installed. You may run `utility/install-oatpp-modules.sh` \nscript to install required oatpp modules.\n\n```\n$ mkdir build \u0026\u0026 cd build\n$ cmake ..\n$ make \n$ ./example-async-api-exe  # - run application.\n\n```\n\n#### In Docker\n\n```\n$ docker build -t example-async-api .\n$ docker run -p 8000:8000 -t example-async-api\n```\n\n## Read More\n\n- [Simple API vs Async API](https://oatpp.io/docs/simple-vs-async/)\n- [Async](https://oatpp.io/docs/async/)\n- [Oatpp-Coroutines](https://oatpp.io/docs/oatpp-coroutines/)\n- [ENDPOINT_ASYNC](https://oatpp.io/docs/components/api-controller/#endpoint-async-specifics)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foatpp%2Fexample-async-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foatpp%2Fexample-async-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foatpp%2Fexample-async-api/lists"}