{"id":24917997,"url":"https://github.com/linkartemy/vpn-manager-api-cpp","last_synced_at":"2025-03-28T08:28:49.916Z","repository":{"id":275279832,"uuid":"922966225","full_name":"linkartemy/vpn-manager-api-cpp","owner":"linkartemy","description":"VPN Manager API in C++ on Userver","archived":false,"fork":false,"pushed_at":"2025-02-01T10:56:19.000Z","size":50,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T11:30:24.536Z","etag":null,"topics":["api","cpp","cpp20","http","userver","userver-framework","vpn","vpn-manager"],"latest_commit_sha":null,"homepage":"","language":null,"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/linkartemy.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":"2025-01-27T12:14:26.000Z","updated_at":"2025-01-31T00:20:35.000Z","dependencies_parsed_at":"2025-02-01T11:40:31.594Z","dependency_job_id":null,"html_url":"https://github.com/linkartemy/vpn-manager-api-cpp","commit_stats":null,"previous_names":["linkartemy/vpn-manager-api-cpp"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkartemy%2Fvpn-manager-api-cpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkartemy%2Fvpn-manager-api-cpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkartemy%2Fvpn-manager-api-cpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkartemy%2Fvpn-manager-api-cpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linkartemy","download_url":"https://codeload.github.com/linkartemy/vpn-manager-api-cpp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245994272,"owners_count":20706740,"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":["api","cpp","cpp20","http","userver","userver-framework","vpn","vpn-manager"],"created_at":"2025-02-02T09:17:17.148Z","updated_at":"2025-03-28T08:28:49.911Z","avatar_url":"https://github.com/linkartemy.png","language":null,"readme":"# VPN Manager API CPP\n\nStack: c++20, userver, postgres\n\n# How to dev\n\n## How to run in VS Code\n\n- Install extensions:\n    - clangd\n    - DevContainers\n    - RemoteSSH\n\n- F1 -\u003e Dev Containers: Open Folder in Container...\n- Choose docker-compose\n- When opened in dev container, delete all build* folders\n\nIn terminal:\n- `apt-get install clangd \u0026\u0026 apt update -y \u0026\u0026 apt upgrade -y`\n\nSet password for root:\n- `passwd root`, `1234`\n\nThen set password for user:\n- `passwd user`, `1234`\n- `sudo usermod -aG sudo user` - make user a sudoer\n- `su -s /bin/bash user`\n\nSpecify the clangd path to the compile_commands.json file. To do this, add the following to the .vscode/settings.json config:\n\"clangd.arguments\": [ \"--compile-commands-dir=${workspaceFolder}/build_debug\" ],\nThe compile_commands.json file is a service file that CMake creates during project configuration. The directory can be useful if you are, for example, building a release.\n\nRestart VSCode and open the project directory again via devcontainers. Don't forget to switch to the user again using the method described above. Now you can build the project and run it from the vscode terminal:\nmake build-debug / make service-start-debug. Autocompletion and syntax highlighting should also work.\n\n**To run:** make build-debug","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinkartemy%2Fvpn-manager-api-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinkartemy%2Fvpn-manager-api-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinkartemy%2Fvpn-manager-api-cpp/lists"}