Step 1: Create a free account at supabase.com
Step 2: Create a new project and copy your Project URL and anon public key
Step 3: Update lines 530-531 in this HTML file:
const SUPABASE_URL = 'https://your-project.supabase.co'
const SUPABASE_KEY = 'your-anon-key-here'
Step 4: In Supabase SQL Editor, run this command to create the table:
CREATE TABLE winners (
id BIGSERIAL PRIMARY KEY,
name TEXT NOT NULL,
amount BIGINT,
status TEXT NOT NULL,
created_at TIMESTAMP DEFAULT NOW()
);
Step 5: Update the same credentials in your winners-list.html file
Manage winners, prizes, and claim statuses
⚪ Connecting to database...
Total Winners
0
Claimed
0
Processing
0
Total Prizes
$0
| # | Name | Amount | Status | Actions |
|---|---|---|---|---|
|
Loading winners... |
||||