{"id":16163360,"url":"https://github.com/gregorwolf/cap-websockets","last_synced_at":"2026-03-16T11:36:41.833Z","repository":{"id":44403057,"uuid":"512240585","full_name":"gregorwolf/cap-websockets","owner":"gregorwolf","description":"CAP WebSockets Demo","archived":false,"fork":false,"pushed_at":"2025-03-11T15:50:52.000Z","size":421,"stargazers_count":6,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-11T16:27:27.313Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/gregorwolf.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-07-09T17:01:41.000Z","updated_at":"2025-03-11T15:17:58.000Z","dependencies_parsed_at":"2025-03-16T09:45:30.125Z","dependency_job_id":null,"html_url":"https://github.com/gregorwolf/cap-websockets","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregorwolf%2Fcap-websockets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregorwolf%2Fcap-websockets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregorwolf%2Fcap-websockets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregorwolf%2Fcap-websockets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gregorwolf","download_url":"https://codeload.github.com/gregorwolf/cap-websockets/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243951065,"owners_count":20373676,"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":[],"created_at":"2024-10-10T02:35:21.926Z","updated_at":"2026-03-16T11:36:36.809Z","avatar_url":"https://github.com/gregorwolf.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CAP WebSockets Demo\n\nIt contains these folders and files, following the recommended project layout:\n\n| File or Folder | Purpose                              |\n| -------------- | ------------------------------------ |\n| `app/`         | content for UI frontends goes here   |\n| `db/`          | your domain models and data go here  |\n| `srv/`         | your service models and code go here |\n| `package.json` | project metadata and configuration   |\n| `readme.md`    | this getting started guide           |\n\n## Next Steps\n\n- Open a new terminal and run `cds watch`\n- (in VS Code simply choose _**Terminal** \u003e Run Task \u003e cds watch_)\n- Start adding content, for example, a [db/schema.cds](db/schema.cds).\n\n## Learn More\n\nLearn more at https://cap.cloud.sap/docs/get-started/.\n\n## Local testing\n\nAfter you've deployed the application you can run:\n\n```bash\nnpm run bind:uaa\n```\n\nto bind the local cap app for hybrid testing. For easy testing you also need to run an approuter. For this you have to store this `default-env.json`in the approuter folder:\n\n```JSON\n{\n  \"VCAP_SERVICES\": {\n    \"xsuaa\": [\n      {\n        \"label\": \"xsuaa\",\n        \"provider\": null,\n        \"plan\": \"application\",\n        \"name\": \"cap-websockets-uaa\",\n        \"tags\": [\"xsuaa\"],\n        \"instance_name\": \"cap-websockets-uaa\",\n        \"binding_name\": null,\n        \"credentials\": {\n        },\n        \"syslog_drain_url\": null,\n        \"volume_mounts\": []\n      }\n    ]\n  },\n  \"destinations\": [\n    {\n      \"name\": \"cap-websockets\",\n      \"url\": \"http://localhost:4004\",\n      \"forwardAuthToken\": true\n    },\n    {\n      \"name\": \"ui5\",\n      \"url\": \"https://ui5.sap.com\"\n    }\n  ]\n}\n```\n\nThen you can run\n\n```\ncds watch --profile hybrid\n```\n\nin one terminal and\n\n```\ncd approuter\nnpm run start-local\n```\n\nin another terminal.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregorwolf%2Fcap-websockets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgregorwolf%2Fcap-websockets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregorwolf%2Fcap-websockets/lists"}