ONE-TIME SETUP
Connect your admin dashboard.
You do not need to write code. Follow these steps once. After that, you add accounts, prices, details, and photos from admin.html.
1
Create a free Supabase project
Create a project at Supabase. Save the database password somewhere safe.
Open Supabase ↗2
Create the database and photo storage
In Supabase, open SQL Editor, create a new query, paste the full script below, and press Run.
3
Create your admin login
- Open Authentication → Users in Supabase.
- Click Add user and create your email and password.
- Disable public user signups in the authentication settings so only your manually created admin can sign in.
4
Generate your connection file
In Supabase, open the project API settings. Copy the Project URL and the browser-safe Publishable key or anon key. Never paste a secret or service-role key here.
Replace assets/config.js in this website folder with the downloaded file.
5
Publish on GitHub Pages
- Create a GitHub repository.
- Upload every file and folder from this website package.
- Open Settings → Pages and publish from the main branch and root folder.
- Set the custom domain to TornDeals.me.
- Open admin.html, sign in, and add your first account.