{"id":20485013,"url":"https://github.com/sap-samples/cloud-sample-node-chat","last_synced_at":"2025-08-17T14:32:57.096Z","repository":{"id":74143160,"uuid":"170536336","full_name":"SAP-samples/cloud-sample-node-chat","owner":"SAP-samples","description":"A simple chat application that is built on Node.js.","archived":false,"fork":false,"pushed_at":"2024-06-19T20:46:27.000Z","size":113,"stargazers_count":39,"open_issues_count":3,"forks_count":53,"subscribers_count":16,"default_branch":"main","last_synced_at":"2024-12-10T12:03:24.357Z","etag":null,"topics":["node-js","sample-code","sap-cloud-platform"],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SAP-samples.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":"2019-02-13T16:01:38.000Z","updated_at":"2024-06-30T13:17:07.000Z","dependencies_parsed_at":"2023-04-04T14:19:01.170Z","dependency_job_id":null,"html_url":"https://github.com/SAP-samples/cloud-sample-node-chat","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/SAP-samples%2Fcloud-sample-node-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP-samples%2Fcloud-sample-node-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP-samples%2Fcloud-sample-node-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP-samples%2Fcloud-sample-node-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SAP-samples","download_url":"https://codeload.github.com/SAP-samples/cloud-sample-node-chat/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230136132,"owners_count":18178812,"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":["node-js","sample-code","sap-cloud-platform"],"created_at":"2024-11-15T16:27:01.273Z","updated_at":"2024-12-17T15:11:12.843Z","avatar_url":"https://github.com/SAP-samples.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NodeJS Chat Application\n[![REUSE status](https://api.reuse.software/badge/github.com/SAP-samples/cloud-sample-node-chat)](https://api.reuse.software/info/github.com/SAP-samples/cloud-sample-node-chat)\n\n## Description: \nThis is a simple chat application that is built on NodeJS. It uses socket.io library which enables real-time, event-based communication. It shows how socket.io rooms can be used to create different chat rooms.\nThis application can be run locally as well as on Cloud Foundry landscape.  \n\nFeatures:\n* Login with name, email Id.\n* Chat with a user who has logged into the same chat room. \n* Only 2 people are allowed per room. If more people enter, they will be directed to a different room.\n\n## Requirements\n- [Node js](https://nodejs.org/en/download/)\n- [Cloud Foundry Command Line Interface (CLI)](https://github.com/cloudfoundry/cli#downloads)\n- Cloud Foundry trial or enterprise account, [sign up for a Cloud Foundry environment trial account on SAP Business technology Platform(https://developers.sap.com/tutorials/hcp-create-trial-account.html)\n   \n## Download and Installation\nRunning the application\n\n1. [Clone](https://help.github.com/articles/cloning-a-repository/) this repository\n2. Login to Cloud Foundry by typing the below commands on command prompt\n    ```\n    cf api \u003capi\u003e\n    cf login -u \u003cusername\u003e -p \u003cpassword\u003e \n    ```\n    `api` - [URL of the Cloud Foundry landscape](https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/350356d1dc314d3199dca15bd2ab9b0e.html) that you are trying to connect to.\n    \n    `username` - Email address of your sap.com account.\n    `password` - Your sap.com password\n    \n    Select the org and space when prompted to. For more information on the same refer [link](https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/75125ef1e60e490e91eb58fe48c0f9e7.html#loio4ef907afb1254e8286882a2bdef0edf4).\n\n3. Push the application\n\n    ```cf push --random-route```\n5. Once the application has been pushed successfully, open the URl in a web browser. \nYou can test by opening the same chat room in different browser tabs. \n\n## Known Issues\nNo known issues.\n\n## How to Obtain Support\n\nIn case you find a bug, or you need additional support, please open an issue here in GitHub.\n\n## License\n\nCopyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the [LICENSE](LICENSES/Apache-2.0.txt)file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsap-samples%2Fcloud-sample-node-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsap-samples%2Fcloud-sample-node-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsap-samples%2Fcloud-sample-node-chat/lists"}