This project is a simple static frontend for one society: Signature Park.
public/login.html: Login pageindex.html: Main dashboardstyles.css: Shared UI styleslogin.js: Login page logicapp.js: Dashboard logicconfig.js: Auto-generated frontend config
scripts/generate-config.ps1: Generatespublic/config.jsfrom root.env
sql/migrations/society_management_migration.sql: Main schema/tables setup
sql/auth/supabase_users_auth_setup.sql: App user profile + auth helper setup
.env: Environment values
- Do not put
service_rolekey in frontend files. - Do not put database password in frontend files.
- Frontend should use only anon key.
- Run
sql/migrations/society_management_migration.sqlin Supabase SQL Editor. - Run
sql/auth/supabase_users_auth_setup.sqlin Supabase SQL Editor. - Ensure
.envhas the correct values. - Run PowerShell:
./scripts/generate-config.ps1. - Open
public/login.htmlin browser. - After login, you will be redirected to
public/index.html.
- Society is fixed in the dashboard as
Signature Park(society_id = 101). - You only need one login account for office use.