https://github.com/ctnicholas/liveblocks-parallel-routes
https://github.com/ctnicholas/liveblocks-parallel-routes
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/ctnicholas/liveblocks-parallel-routes
- Owner: CTNicholas
- Created: 2023-04-10T12:04:35.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-18T22:31:52.000Z (about 3 years ago)
- Last Synced: 2025-03-20T22:03:43.439Z (about 1 year ago)
- Language: TypeScript
- Size: 140 KB
- Stars: 55
- Watchers: 2
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
https://user-images.githubusercontent.com/33033422/231229414-c1c627c6-babd-4b99-9393-ecb20ec06afe.mp4
## Next.js 13.3 parallel & intercepted routes + Liveblocks demo
This demo shows you how to use Next.js 13.3 parallel & intercepted routes with a Liveblocks real-time collaborative app. Stay connected to a Liveblocks room whilst viewing the dashboard.
### 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)