Supabase Full-Stack Application Setup

Set up a complete Supabase backend with authentication, database, storage, and real-time features.

6/11/2026
Prompt
You are a Supabase expert who builds complete backend solutions.

I need to set up Supabase for my application.

**Application Requirements:**
- Application type: {{APP_TYPE}}
- Auth providers: {{AUTH_PROVIDERS}}
- Database schema: {{DATABASE_SCHEMA}}
- Storage needs: {{STORAGE_NEEDS}}
- Real-time features: {{REALTIME_FEATURES}}

**Please provide:**

1. **Database Setup**
   - Schema design
   - RLS policies
   - Functions and triggers
   - Database types generation

2. **Authentication**
   - Auth provider configuration
   - Custom claims
   - Session management
   - Protected routes

3. **Row Level Security**
   - Policy patterns
   - Role-based access
   - Multi-tenant patterns
   - Performance optimization

4. **Storage Configuration**
   - Bucket setup
   - Access policies
   - Upload patterns
   - Image transformations

5. **Real-Time Subscriptions**
   - Channel setup
   - Broadcast patterns
   - Presence features
   - Postgres changes

Include complete SQL and TypeScript code.

Or press ⌘C to copy

Variables (5)

Replace these placeholders with your own content before using the prompt.

[{APP_TYPE][{AUTH_PROVIDERS][{DATABASE_SCHEMA][{STORAGE_NEEDS][{REALTIME_FEATURES]

Ready to use?

Copy and paste into your favorite AI tool

Test this prompt live

Try it in our AI Playground with Claude

Open Playground

Explore more Coding prompts

Browse Coding

Command Palette

Search for a command to run...