Commit Graph

4 Commits

Author SHA1 Message Date
Nikita
2d3d7e0185 Refactor stream status fetch to use local API proxy; add /api/stream-status route; update Stripe config references; modify checkout to use proPriceId; adjust fetch URLs in landing page. 2025-12-24 18:18:19 -08:00
Nikita
9d7ea0ada1 Update Stripe setup instructions and add new creator economy API routes
- Clarify instructions for creator-specific pricing and setup
- Remove outdated Stripe Price ID prompt from setup script
- Add API route definitions for `/api/creator/tiers`, `/api/creator/subscribe`, and `/api/creator/$username/access`
- Register new routes in route tree for API access
- Update documentation to reflect new endpoints and instructions
2025-12-24 16:58:43 -08:00
Nikita
cf4a43779e Implement setup task for worker admin environment and add new database schema and snapshot files 2025-12-24 16:31:01 -08:00
Nikita
103a4ba19c feat: Add Cloudflare StreamPlayer component and update schema with billing and access control
- Introduced `CloudflareStreamPlayer` React component for embedding streams
- Updated `package.json` with new dependencies: `@cloudflare/stream-react` and `stripe`
- Extended database schema with user tiers, Stripe billing, storage, and archive management
- Added access control logic in `access.ts` for user tiers and feature permissions
- Enhanced billing logic with archive storage limits and subscription checks
2025-12-21 14:56:30 -08:00