{"id":27067378,"url":"https://github.com/maxboro/web-app-cpp","last_synced_at":"2026-05-17T08:32:01.491Z","repository":{"id":280684272,"uuid":"942815387","full_name":"maxboro/web-app-cpp","owner":"maxboro","description":"Simple web app with backend in C++","archived":false,"fork":false,"pushed_at":"2025-03-08T10:50:58.000Z","size":116,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-16T07:13:03.799Z","etag":null,"topics":["cplusplus","http-server","javascript","webapp","websockets"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxboro.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,"zenodo":null}},"created_at":"2025-03-04T18:07:35.000Z","updated_at":"2025-03-08T10:57:15.000Z","dependencies_parsed_at":"2025-07-15T16:39:53.954Z","dependency_job_id":"50f1459e-5ce5-4cf0-804a-0ca5c1cc7f73","html_url":"https://github.com/maxboro/web-app-cpp","commit_stats":null,"previous_names":["maxboro/web-app-cpp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maxboro/web-app-cpp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxboro%2Fweb-app-cpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxboro%2Fweb-app-cpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxboro%2Fweb-app-cpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxboro%2Fweb-app-cpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxboro","download_url":"https://codeload.github.com/maxboro/web-app-cpp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxboro%2Fweb-app-cpp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33131884,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T06:27:06.342Z","status":"ssl_error","status_checked_at":"2026-05-17T06:26:59.432Z","response_time":107,"last_error":"SSL_read: 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":["cplusplus","http-server","javascript","webapp","websockets"],"created_at":"2025-04-05T19:48:43.097Z","updated_at":"2026-05-17T08:32:01.473Z","avatar_url":"https://github.com/maxboro.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Description\nSimple example of web app in C++.\n\n# How to run\n#### Server:\n```bash\nmake           # Builds the project\n./bin/exec     # Runs the executable\n```\n#### Frontend\nOpen http://localhost:8080/ in web browser.\n\n#### Clean:\n```bash\nmake clean     # Cleans up build files\n```\n\n# Example\nTerminal:\n```terminal\nRunning\n(2025-03-08 10:18:19) [INFO    ] Crow/1.0 server is running at http://0.0.0.0:8765 using 4 threads\n(2025-03-08 10:18:19) [INFO    ] Crow/1.0 server is running at http://0.0.0.0:8080 using 4 threads\n(2025-03-08 10:18:19) [INFO    ] Call `app.loglevel(crow::LogLevel::Warning)` to hide Info level logs.\n(2025-03-08 10:18:19) [INFO    ] Call `app.loglevel(crow::LogLevel::Warning)` to hide Info level logs.\n(2025-03-08 10:18:24) [INFO    ] Request: 127.0.0.1:51104 0x622000000100 HTTP/1.1 GET /\n(2025-03-08 10:18:24) [INFO    ] Response: 0x622000000100 / 200 0\n(2025-03-08 10:18:24) [INFO    ] Request: 127.0.0.1:51104 0x622000000100 HTTP/1.1 GET /css/styles.css\n(2025-03-08 10:18:24) [INFO    ] Response: 0x622000000100 /css/styles.css 200 0\n(2025-03-08 10:18:24) [INFO    ] Request: 127.0.0.1:51104 0x622000000100 HTTP/1.1 GET /js/script.js\n(2025-03-08 10:18:24) [INFO    ] Response: 0x622000000100 /js/script.js 200 0\nWebSocket client connected!\nReceived message: {\"type\":\"handshake\",\"timestamp\":\"1.1801\"}\nReceived message: {\"type\":\"increment\",\"timestamp\":\"3.4710\"}\nReceived message: {\"type\":\"increment\",\"timestamp\":\"4.0824\"}\nReceived message: {\"type\":\"increment\",\"timestamp\":\"4.5811\"}\nReceived message: {\"type\":\"increment\",\"timestamp\":\"5.1091\"}\n^C(2025-03-08 10:19:01) [INFO    ] Exiting.(2025-03-08 10:19:01) [INFO    ] Exiting.\n\nServer stopped.\nExecution is finished\n```\n\nWeb console:\n```terminal\nscript.js:25 Connect OK!\nscript.js:62 Sent: {\"type\":\"handshake\",\"timestamp\":\"1.1801\"}\nscript.js:43 Got msg from backend at 1.1861s: {\"type\":\"handshake_acknowledgement\",\"timestamp\":\"1.1801\"}\nscript.js:49 Handshake acknowledgement is received from server\nscript.js:62 Sent: {\"type\":\"increment\",\"timestamp\":\"3.4710\"}\nscript.js:43 Got msg from backend at 3.4740s: {\"type\":\"increment_acknowledgement\",\"timestamp\":\"3.4710\"}\nscript.js:45 Roundtrip time: 3.0ms\nscript.js:62 Sent: {\"type\":\"increment\",\"timestamp\":\"4.0824\"}\nscript.js:43 Got msg from backend at 4.0852s: {\"type\":\"increment_acknowledgement\",\"timestamp\":\"4.0824\"}\nscript.js:45 Roundtrip time: 2.8ms\nscript.js:62 Sent: {\"type\":\"increment\",\"timestamp\":\"4.5811\"}\nscript.js:43 Got msg from backend at 4.5840s: {\"type\":\"increment_acknowledgement\",\"timestamp\":\"4.5811\"}\nscript.js:45 Roundtrip time: 2.9ms\nscript.js:62 Sent: {\"type\":\"increment\",\"timestamp\":\"5.1091\"}\nscript.js:43 Got msg from backend at 5.1115s: {\"type\":\"increment_acknowledgement\",\"timestamp\":\"5.1091\"}\nscript.js:45 Roundtrip time: 2.4ms\n```\n\nWeb page:\n![Web page example](docs/images/app_screen.png)\n\n# Credits\n\nThis project uses the following open-source libraries:\n- Crow (v1.0+5 Security Patch): [link](https://github.com/CrowCpp/Crow.git), [license](https://github.com/CrowCpp/Crow/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxboro%2Fweb-app-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxboro%2Fweb-app-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxboro%2Fweb-app-cpp/lists"}