{"id":23156751,"url":"https://github.com/userver-framework/service_template","last_synced_at":"2025-04-05T05:03:40.909Z","repository":{"id":37752014,"uuid":"456248325","full_name":"userver-framework/service_template","owner":"userver-framework","description":"Template of a C++ service that uses userver framework. Build, test and CI scripts ready","archived":false,"fork":false,"pushed_at":"2025-03-13T07:29:51.000Z","size":111,"stargazers_count":103,"open_issues_count":1,"forks_count":34,"subscribers_count":9,"default_branch":"develop","last_synced_at":"2025-03-29T04:04:27.054Z","etag":null,"topics":["asynchronous","backend","ci","coroutines","cplusplus","cplusplus-17","cpp17","makefile","rest-api","server","template","template-project","test-automation","testing","userver"],"latest_commit_sha":null,"homepage":"https://userver.tech/da/d16/md_en_2userver_2tutorial_2hello__service.html","language":"CMake","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/userver-framework.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-02-06T19:18:39.000Z","updated_at":"2025-03-17T23:02:03.000Z","dependencies_parsed_at":"2023-09-29T07:37:29.934Z","dependency_job_id":"c5bb1687-c404-429e-9a48-2a92fcfb574b","html_url":"https://github.com/userver-framework/service_template","commit_stats":null,"previous_names":[],"tags_count":2,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/userver-framework%2Fservice_template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/userver-framework%2Fservice_template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/userver-framework%2Fservice_template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/userver-framework%2Fservice_template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/userver-framework","download_url":"https://codeload.github.com/userver-framework/service_template/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247289409,"owners_count":20914464,"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","backend","ci","coroutines","cplusplus","cplusplus-17","cpp17","makefile","rest-api","server","template","template-project","test-automation","testing","userver"],"created_at":"2024-12-17T21:14:29.563Z","updated_at":"2025-04-05T05:03:40.892Z","avatar_url":"https://github.com/userver-framework.png","language":"CMake","readme":"# service_template\n\nTemplate of a C++ service that uses [userver framework](https://github.com/userver-framework/userver).\n\n\n## Download and Build\n\nTo create your own userver-based service follow the following steps:\n\n1. Press the \"Use this template button\" at the top right of this GitHub page\n2. Clone the service `git clone your-service-repo \u0026\u0026 cd your-service-repo \u0026\u0026 git submodule update --init`\n3. Give a proper name to your service and replace all the occurrences of \"service_template\" string with that name\n4. Feel free to tweak, adjust or fully rewrite the source code of your service.\n\n\n## Makefile\n\n`PRESET` is either `debug`, `release`, or if you've added custom presets in `CMakeUserPresets.json`, it\ncan also be `debug-custom`, `release-custom`.\n\n* `make cmake-PRESET` - run cmake configure, update cmake options and source file lists\n* `make build-PRESET` - build the service\n* `make test-PRESET` - build the service and run all tests\n* `make start-PRESET` - build the service, start it in testsuite environment and leave it running\n* `make install-PRESET` - build the service and install it in directory set in environment `PREFIX`\n* `make` or `make all` - build and run all tests in `debug` and `release` modes\n* `make format` - reformat all C++ and Python sources\n* `make dist-clean` - clean build files and cmake cache\n* `make docker-COMMAND` - run `make COMMAND` in docker environment\n* `make docker-clean-data` - stop docker containers\n\n\n## License\n\nThe original template is distributed under the [Apache-2.0 License](https://github.com/userver-framework/userver/blob/develop/LICENSE)\nand [CLA](https://github.com/userver-framework/userver/blob/develop/CONTRIBUTING.md). Services based on the template may change\nthe license and CLA.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuserver-framework%2Fservice_template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuserver-framework%2Fservice_template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuserver-framework%2Fservice_template/lists"}