mirror of
https://github.com/FranP-code/inbox-negotiator.git
synced 2025-10-13 00:42:26 +00:00
Migrate core authentication and API from Supabase to Appwrite
Co-authored-by: FranP-code <76450203+FranP-code@users.noreply.github.com>
This commit is contained in:
18
.env.example
18
.env.example
@@ -1,13 +1,19 @@
|
||||
# Environment variables for Inbox Negotiator
|
||||
|
||||
# Supabase Configuration
|
||||
SUPABASE_URL=your_supabase_url_here
|
||||
SUPABASE_ANON_KEY=your_supabase_anon_key_here
|
||||
SUPABASE_SERVICE_ROLE_KEY=your_supabase_service_role_key_here
|
||||
# Appwrite Configuration
|
||||
PUBLIC_APPWRITE_ENDPOINT=your_appwrite_endpoint_here
|
||||
PUBLIC_APPWRITE_PROJECT_ID=your_appwrite_project_id_here
|
||||
PUBLIC_APPWRITE_DATABASE_ID=your_appwrite_database_id_here
|
||||
APPWRITE_API_KEY=your_appwrite_api_key_here
|
||||
|
||||
# Legacy Supabase Configuration (for migration reference)
|
||||
# SUPABASE_URL=your_supabase_url_here
|
||||
# SUPABASE_ANON_KEY=your_supabase_anon_key_here
|
||||
# SUPABASE_SERVICE_ROLE_KEY=your_supabase_service_role_key_here
|
||||
|
||||
# Google Generative AI API Key for Gemini model
|
||||
GOOGLE_GENERATIVE_AI_API_KEY=your_google_api_key_here
|
||||
|
||||
# Add these same variables to your actual .env file
|
||||
# Note: The SUPABASE_SERVICE_ROLE_KEY is required for webhook operations
|
||||
# to bypass Row Level Security (RLS) policies in server-side contexts
|
||||
# Note: The APPWRITE_API_KEY is required for server-side operations
|
||||
# and webhook operations with admin privileges
|
||||
|
||||
Reference in New Issue
Block a user