Backend Service (Supabase Integration)
Overview
EitherWay integrates Supabase for instant backend provisioning. One click gives your application:
Managed PostgreSQL database
Authentication (email, OAuth, magic links)
Storage buckets for files
Real-time subscriptions
Auto-generated REST and GraphQL APIs
Row-level security
Enabling Backend Service
Click “Enable Backend” in the chat interface
Eitherway provisions a Supabase project
Credentials are securely stored and injected
Database schema is auto-generated from your requirements
API Endpoints
GET /api/backend-service/status
Check provisioning status
POST /api/backend-service/enable
Enable for an app
POST /api/backend-service/provision
Provision resources
POST /api/backend-service/schema/apply
Apply database schema
GET /api/backend-service/schemas/:appId
Get current schema
Database Tools
The AI agent can:
Create tables and relationships
Set up row-level security policies
Generate TypeScript types
Create API endpoints automatically
Set up real-time subscriptions
Storage Buckets
Last updated