Deploy: Add Cloudflare Worker, D1 database integration, and updated README

- Add complete Cloudflare Worker implementation with waitlist API endpoints
- Integrate Cloudflare D1 SQLite database for production waitlist storage
- Add wrangler configuration for Worker deployment and D1 binding
- Rewrite README with comprehensive deployment and architecture documentation
- Update environment configuration and build setup
- Add waitlist utility functions and API client
- Update project dependencies and Vite configuration
- Deploy live to https://react-example.white-glade-ab2c.workers.dev
This commit is contained in:
User
2026-08-31 08:24:47 +02:00
parent 021f26fa06
commit ad0c936ccd
11 changed files with 1943 additions and 68 deletions
+8
View File
@@ -0,0 +1,8 @@
name = "bm-connect-api"
main = "src/index.ts"
compatibility_date = "2026-08-26"
[[d1_databases]]
binding = "DB"
database_name = "bm_connect_db"
database_id = "5cf8ba8c-fe38-4db4-bf95-aa8fb8c09892"