{"id":21319493,"url":"https://github.com/zoom/websocket-redis-example","last_synced_at":"2025-06-16T13:03:53.067Z","repository":{"id":184546783,"uuid":"672061122","full_name":"zoom/websocket-redis-example","owner":"zoom","description":"This is a sample application that logs events received through websockets in redis database","archived":false,"fork":false,"pushed_at":"2023-08-03T17:34:17.000Z","size":11,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-22T11:23:29.202Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/zoom.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":"2023-07-28T20:20:44.000Z","updated_at":"2024-12-02T13:17:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"75fc76a7-a37c-4139-8703-b7d3cb50edc9","html_url":"https://github.com/zoom/websocket-redis-example","commit_stats":null,"previous_names":["zoom/websocket-redis-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoom%2Fwebsocket-redis-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoom%2Fwebsocket-redis-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoom%2Fwebsocket-redis-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoom%2Fwebsocket-redis-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zoom","download_url":"https://codeload.github.com/zoom/websocket-redis-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243800322,"owners_count":20349993,"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-11-21T19:42:24.399Z","updated_at":"2025-03-15T22:27:42.146Z","avatar_url":"https://github.com/zoom.png","language":"JavaScript","readme":"# Zoom Websocket Redis Example\n\nThis repository is a sample application that demonstrates how to:\n1. Generate a server to server OAuth Token\n2. Open a Websocket Connection\n3. Store the received websocket payload to redis database\n\n## Prerequisites\n\nBefore running the application, make sure you have the following requirements:\n\n- Node.js installed on your computer\n- A Zoom account \n- [Server to server Oauth app](https://developers.zoom.us/docs/internal-apps/create/) with [Websocket Configured](https://developers.zoom.us/docs/api/rest/websockets/)  ( required to get these credentials: client ID, client secret, account ID, user ID, subscription ID)\n- [Redis server installed and running on your machine](https://redis.io/docs/getting-started/installation/install-redis-on-mac-os/)\n\n## Installation\n\nFollow these steps to install and set up the application:\n\n1. Clone the repository:\n\n   ```\n   git clone https://github.com/zoom/websocket-redis-example\n   ```\n\n2. Go to the project directory:\n\n   ```\n   cd Zoom-Websocket-Redis-Example\n   ```\n\n3. Install the dependencies:\n\n   ```\n   npm install\n   ```\n\n4. Configure the environment variables by creating a `.env` file in the main directory and adding the necessary values:\n\n   ```\n   clientID=YOUR_CLIENT_ID\n   clientSecret=YOUR_CLIENT_SECRET\n   account_id=YOUR_ACCOUNT_ID\n   subscription_id=YOUR_SUBSCRIPTION_ID\n   ```\n\n   Remember to replace `YOUR_CLIENT_ID`, `YOUR_CLIENT_SECRET`, `YOUR_ACCOUNT_ID`, and `YOUR_SUBSCRIPTION_ID` with the actual values from your Server to server OAuth app.\n\n## Usage\n\nTo start the application, follow these steps:\n\n1. Start the application:\n\n   ```\n   npm start\n   ```\n\nThe console will display the access token, user information, WebSocket connection status.\n\n2. Whenever you trigger the event that you have subscribed in the zoom app (for example meeting created / updated / deleted), you can see the payload in your console.\n\n3. Verify that the received event data is logged in the console and stored successfully in your redis database, as indicated by the output messages.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzoom%2Fwebsocket-redis-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzoom%2Fwebsocket-redis-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzoom%2Fwebsocket-redis-example/lists"}