https://github.com/ably/js-publish-subscribe-tutorial
Solution code for the JavaScript version of the pub/sub tutorial
https://github.com/ably/js-publish-subscribe-tutorial
Last synced: 3 months ago
JSON representation
Solution code for the JavaScript version of the pub/sub tutorial
- Host: GitHub
- URL: https://github.com/ably/js-publish-subscribe-tutorial
- Owner: ably
- License: mit
- Created: 2022-07-22T13:02:13.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-22T16:32:03.000Z (almost 4 years ago)
- Last Synced: 2025-09-21T23:50:49.806Z (9 months ago)
- Language: HTML
- Size: 3.91 KB
- Stars: 0
- Watchers: 7
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Publish/Subscribe Tutorial Code (JavaScript version)
This is the solution code for the JavaScript version of the [Publish/Subscribe Messaging App tutorial](https://ably.com/tutorials/publish-subscribe).
To run the demo, do the following:
1. Clone the repo locally:
```sh
git clone https://github.com/ably/js-publish-subscribe-tutorial.git
```
2. Add your [Ably API key](https://faqs.ably.com/setting-up-and-managing-api-keys) to `example.html` by replacing `YOUR_ABLY_API_KEY` with your own API key.
3. In a new browser tab, open your browser's developer tools.
4. Open the `example.html` file in the browser tab and inspect the console output.