This repo shows how to use the Storage block and Next.js.
⚠️ This demo will not work if you don't have access to the private beta. Please contact us at hello@liveblocks.io if you want access to the storage block private beta
-
Install all dependencies with
npm install
-
Create an account on liveblocks.io
-
Copy your secret key from the administration
-
Create a file named
.env
and add your Liveblocks secret as environment variableLIVEBLOCKS_SECRET_KEY=sk_test_yourkey