๐
Credit-System Starter Kit
Checking your accessโฆ
What's inside
- worker.js โ full Cloudflare Worker backend: signed unforgeable sessions, Razorpay orders + verification, credit balance/spend, Google sign-in binding, per-item purchase tracking
- firebase-auth.js โ drop-in Google sign-in, updates in place with no page reload
- client-example.html โ a minimal working page showing the whole flow end to end
- README.md + SETUP.md โ full walkthrough, from Cloudflare dashboard clicks to your first test payment