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

https://github.com/ctnicholas/schema-validation-demo


https://github.com/ctnicholas/schema-validation-demo

Last synced: 11 months ago
JSON representation

Awesome Lists containing this project

README

          

https://user-images.githubusercontent.com/33033422/231781921-cd02f744-0ce6-40a2-9b00-584405665be0.mp4

## Liveblocks schema validation demo

This demo lets you quickly change a Liveblocks storage property to a string or number to aid in testing out schema validation.

### Set up Liveblocks

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