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.exampleto.envand fill in your API key in theVITE_ABLY_KEYenvironment variable. (You can use the same key for all examples or you can create different keys for each app.)VITE_ABLY_KEY_AVATAR_STACKfor the Avatar StackVITE_ABLY_KEY_EMOJI_REACTIONSfor the Emoji ReactionsVITE_ABLY_KEY_USER_CLAIMSfor User Claims
- Run
yarnornpm installto install dependencies. - Run
yarn devornpm run devand go to http://localhost:5173/