Medusa won the Golden Kitty Award for Best Ecommerce Product ✨  Learn More

Medusa Logo
  • Developers
  • Blog
  • Pricing
  • Community
  • About
  • Careers
  • Get Started
  • Developers
  • Blog
  • Pricing
  • Community
  • About
  • Careers
  • Get Started
Browse

Built by

contrebande-labs

Category

Storage

Version

0.0.8

Last updated

Jan 29, 2023, 18:18:21 PM2 months ago
View sourceView on NPMCopy link

A simple plugin to use Cloudflare R2 as the storage provider for Medusa.

npm i medusa-file-cloudflare-r2
{
resolve: "medusa-file-cloudflare-r2",
options: {
public_url: process.env.R2_PUBLIC_URL,
s3_endpoint: process.env.R2_S3_ENDPOINT,
bucket: process.env.R2_BUCKET_NAME,
prefix: process.env.R2_PREFIX,
access_key_id: process.env.R2_ACCESS_KEY,
secret_access_key: process.env.R2_SECRET_KEY,
},
}

Where prefix is an optional path to prepend to every object.

Other keys are required.

altText of the image

Build your own plugins

Take Medusa up another level, and develop your own plugins with our API to speed up your processes.

Focus on building plugins for tools you use in your daily workflow, and publish to the Medusa Plugin Store for others to install.

Read more
altText of the image
Medusa

Product

Medusa for B2BIntegrationsGet StartedCareers
We're hiring

Developers

DocsAPI ReferencesCommunityDiscussions

Medusa

BlogPricingAboutContact Us

Newsletter

Get a summary of what we’ve shipped during the last month, behind the scenes updates, and team picks. Unsubscribe any time.

© 2023 MedusaJS, Inc.