This repository contains all of the code necessary to run and test the Ably examples locally.
Click on any of the links below to find out more specific information on each example:
All of the examples are built with the following technology:
- React.js
- Tailwind
- HeroIcons
To see what else is possible with Ably, check out our other realtime examples.
- Fork or clone the Examples Repo.
- Sign up for an account on Ably and get an API KEY.
- Rename
.env.example
to.env
and fill in your API key in theVITE_ABLY_KEY
environment variable. (You can use the same key for all examples or you can create different keys for each app.)VITE_ABLY_KEY_AVATAR_STACK
for the Avatar StackVITE_ABLY_KEY_EMOJI_REACTIONS
for the Emoji ReactionsVITE_ABLY_KEY_USER_CLAIMS
for User Claims
- Run
yarn
ornpm install
to install dependencies. - Run
yarn dev
ornpm run dev
and go to http://localhost:5173/