Connect the stock database
The admin page is installed, but the database keys have not been added yet.
Open assets/config.js in the website folder and paste your Supabase Project URL and public anon/publishable key. Never paste a service-role key into the website.
The included supabase-setup.sql creates the vehicle table, photo bucket and security rules. The rules only allow harpreet@primeautohubltd.co.uk to change stock.
Staff login
Use your authorised Prime Auto Hub admin account.
Vehicle stock
Add, edit, reserve, sell or remove vehicles. Changes appear on the public website automatically.