medusa-file-supabase

0.0.1 • Public • Published

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',
      },
    },
  ],
};

Package Sidebar

Install

npm i medusa-file-supabase

Weekly Downloads

81

Version

0.0.1

License

MIT

Unpacked Size

20.2 kB

Total Files

9

Last publish

Collaborators

  • yinkakun