Simple guide

How to use the SkillGapAI backend demo.

This version can save enquiries and demo users into Supabase after you add your Project URL and anon public key. It also keeps a browser backup for testing.

1. Run setup SQL

Open Supabase, go to SQL Editor, paste supabase-setup.sql, and click Run.

2. Copy safe keys

Go to Project Settings, API, then copy Project URL and anon public key.

3. Paste in config

Open supabase-config.js and replace the two placeholder values. Never paste service role key.

4. Upload files

Upload index.html, login.html, admin.html, script.js, supabase-config.js, and supabase-setup.sql to GitHub.

5. Test enquiry

Fill the homepage enquiry form. It should save in Supabase and open WhatsApp.

6. View database

In Supabase Table Editor, open skillgap_enquiries or skillgap_demo_users.

7. Demo admin

Admin.html shows browser backup data. Use Supabase dashboard for real database records.

8. Important safety

Do not add database password or service role key to public website files.