supabase-hello-world

Featured

Run your first Supabase query — insert a row and read it back. Use when starting a new Supabase project, verifying your connection works, or learning the basic insert-then-select pattern with @supabase/supabase-js. Trigger with phrases like "supabase hello world", "first supabase query", "supabase quick start", "test supabase connection", "supabase insert and select".

AI & Automation 2,359 stars 334 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Supabase Hello World — First Query ## Overview Execute your first real Supabase query: create a `todos` table in the dashboard, insert a row with the JS client, and read it back. This validates that your project URL, anon key, and Row Level Security are configured correctly before you build anything else. ## Prerequisites - Completed `supabase-install-auth` setup (project URL + anon key in `.env`) - `@supabase/supabase-js` v2+ installed (`npm install @supabase/supabase-js`) - A Supabase project at [supabase.com/dashboard](https://supabase.com/dashboard) ## Instructions ### Step 1: Create the `todos` Table Open your Supabase dashboard SQL Editor and run: ```sql -- Create a simple todos table create table public.todos ( id bigint generated always as identity primary key, task text not null, is_complete boolean default false, inserted_at timestamptz default now() ); -- Enable Row Level Security (required for anon key access) alter table public.todos enable row level security; -- Allow anyone with the anon key to read and insert -- (permissive for hello-world; lock down before production) create policy "Allow public read" on public.todos for select using (true); create policy "Allow public insert" on public.todos for insert with check (true); ``` Verify the table appears under **Table Editor** in the dashboard before continuing. ### Step 2: Insert a Row ```typescript import { createClient } from '@supabase/supabase-js' const supabase = createClient( ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
8 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category