Supabase Storage
To integrate Supabase Storage, nextstarter simply wraps the supabase-js client which means all you need to provide are the following two environment variables:
NEXT_PUBLIC_SUPABASE_URL="your-supabase-url"
SUPABASE_SERVICE_ROLE_KEY="your-supabase-service-role-key"
Per default, nextstarter uses a bucket called avatars
to store the avatars for users and teams. Make sure to create this bucket in your S3 compatible storage service.
The last thing you need to make sure is to set the right provider in the packages/storage/providers/index.ts
file:
export * from './supabase';