0.0.1 • Published 1 year ago

medusa-file-supabase v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

medusa-file-supabase

Supabase Storage plugin for MedusaJS.

Usage

Create a Supabase Project and add a Public Storage Bucket.

Open the Storage Bucket and click on the "Settings" tab. Copy the "Project Ref" and "Service Key" and add them to your medusa-config.js file.

module.exports = {
  // ... other config
  plugins: [
    // ... other plugins
    {
      resolve: `medusa-file-supabase`,
      options: {
        project_ref: 'PROJECT_REF',
        service_key: 'SERVICE_KEY',
        bucket_name: 'BUCKET_NAME',
      },
    },
  ],
};