- Video Library
- Discord ID: synycboom#0624
- UnstoppableDomain registered account email address: synycboom@gmail.com
This is a demo website for Cloudflare + Lit Protocol + Login with Unstoppable integration. This is a simple video library website where everyone can upload videos.
In order to watch the videos, users need to request presigned urls from the API, but not all users can request them.
The presigned urls are limited to those who have authorization (using Lit Protocol dynamic content).
The API part of this project is https://github.com/synycboom/cloudflare-lit-video-api
- Create .env.development file (see .env.example)
- Set unstoppabledomains credentials in .env.development
- Make sure that you have run the API (https://github.com/synycboom/cloudflare-lit-video-api)
npm ci
npm run start
This project has to be deployed to Cloudflare using wrangler. Make sure that wrangler cli has been installed.
- Create .env.production file (see .env.example)
- Set unstoppabledomains credentials in .env.development
npm i @cloudflare/wrangler -g
npm run build
wrangler publish