{"id":15187481,"url":"https://github.com/dmtai/currexch_service","last_synced_at":"2026-03-04T06:03:47.513Z","repository":{"id":213323129,"uuid":"733565358","full_name":"dmtai/currexch_service","owner":"dmtai","description":"HTTP-service on boost::asio and postgres","archived":false,"fork":false,"pushed_at":"2024-01-26T15:36:36.000Z","size":118,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T08:31:20.511Z","etag":null,"topics":["asio","beast","boost","boost-asio","boost-beast","cmake","cpp","cpp20","example-project","http","libcuckoo","ozo","plpgsql","postgresql","pytest","server"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dmtai.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":"2023-12-19T16:02:22.000Z","updated_at":"2024-10-26T09:19:39.000Z","dependencies_parsed_at":"2023-12-20T06:44:09.772Z","dependency_job_id":"fcc60cb0-5131-435f-bf3d-90147537d3bc","html_url":"https://github.com/dmtai/currexch_service","commit_stats":{"total_commits":17,"total_committers":1,"mean_commits":17.0,"dds":0.0,"last_synced_commit":"ab647759dbcf2546aa9dd5ae23824e30c80846b3"},"previous_names":["dmtai/currexch_service"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dmtai/currexch_service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmtai%2Fcurrexch_service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmtai%2Fcurrexch_service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmtai%2Fcurrexch_service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmtai%2Fcurrexch_service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmtai","download_url":"https://codeload.github.com/dmtai/currexch_service/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmtai%2Fcurrexch_service/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30073706,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T05:31:57.858Z","status":"ssl_error","status_checked_at":"2026-03-04T05:31:38.462Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["asio","beast","boost","boost-asio","boost-beast","cmake","cpp","cpp20","example-project","http","libcuckoo","ozo","plpgsql","postgresql","pytest","server"],"created_at":"2024-09-27T18:23:07.703Z","updated_at":"2026-03-04T06:03:47.485Z","avatar_url":"https://github.com/dmtai.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"A toy service for currency exchange. For create the service, an engine was developed. The engine consists of a http-server(http-parsing(on boost::beast), routing, async request handling, http-handlers, http-filters) on boost::asio and utilities(async work with postgres(on ozo lib), caches, logging, configs).\r\n### Build and run\r\n```\r\ngit clone --recurse-submodule https://github.com/dmtai/currexch_service.git\r\ncd currexch_service\r\n\r\n# Run the service with docker-compose\r\nmake docker-run\r\n```\r\nTo build and run the service locally, you need to run Postgres and create the database using a script db/curr_exchange.sql. Set connection_info in ./configs/config.yaml. Next you need to install the сonan package manager(1.60). Then use it to install dependencies(see Makefile with helping commands). After that, build the project(using cmake) and start the service.\r\n```\r\ngit clone --recurse-submodule https://github.com/dmtai/currexch_service.git\r\ncd currexch_service\r\n\r\n# Install dependencies\r\nmake conan-install-debug\r\n\r\nmake build-debug\r\n\r\n# Run the service\r\nbuild_debug/currexch_service --config configs/config.yaml\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmtai%2Fcurrexch_service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdmtai%2Fcurrexch_service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmtai%2Fcurrexch_service/lists"}