An open API service indexing awesome lists of open source software.

https://github.com/ctnicholas/realtime-voting


https://github.com/ctnicholas/realtime-voting

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

## Liveblocks real-time voting demo

This demo shows you how to use [Liveblocks](https://liveblocks.io/) to build a real-time voting app. This currently has no UI.

### Set up Liveblocks

- Install all dependencies with `npm install`
- Create an account on [liveblocks.io](https://liveblocks.io/dashboard)
- Copy your **secret** key from the [dashboard](https://liveblocks.io/dashboard/apikeys)
- Create an `.env.local` file and add your **secret** key as the `LIVEBLOCKS_SECRET_KEY` environment variable
- Run `npm run dev` and go to [http://localhost:3000](http://localhost:3000)