Try different access roles and views here.
Create new project at supabase.com and go to Settings->API to check your project URL and API keys
git clone https://github.com/xulioc/sveltekit-supabase-dashboard.git
cd sveltekit-supabase-dashboard
Create a new .env
file
cp .env.example .env
Edit your .env
file to match your project URL and API keys
# SUPABASE
PUBLIC_SUPABASE_URL="YOUR PROJECT URL"
PUBLIC_SUPABASE_ANON_KEY="YOUR PROJECT ANON KEY"
PRIVATE_SUPABASE_SERVICE_KEY="YOUR PROJECT SERVICE KEY"
Execute sql/init_databse.sql
and sql/init_demo_data.sql
in Supabase SQL Editor.
npm install
To start in development mode:
npm run dev
To build and start in production mode:
npm run build
npm run preview
To deploy to Vercel please follow instructions here.
Find more development details here.
Feel free to contribute. Issues and Pull Requests are welcome.