2.8.4 • Published 4 months ago

@medusajs/file-local v2.8.4

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

Local file storage

Store uploaded files to your Medusa backend locally.

Not suited for production environments

Plugin Documentation | Medusa Website | Medusa Repository

Features

  • Store product images locally

Prerequisites


How to Install

1. Run the following command in the directory of the Medusa backend:

npm install @medusajs/file-local

2 . In medusa-config.js add the following at the end of the plugins array:

const plugins = [
  // ...
  {
    resolve: `@medusajs/file-local`,
    options: {
      upload_dir: 'uploads/images', // optional
      backend_url: 'http://localhost:9000' // optional
    }
  },
]

Test the Plugin

1. Run the following command in the directory of the Medusa backend to run the backend:

npm run start

2. Upload an image for a product using the admin dashboard or using the Admin APIs.

medusa-plugin-reviews-and-ratingmedusa-my-custom-pluginmedusa-plugin-contact-us@everything-registry/sub-chunk-592medusa-fulfillment-sendcloudmedusa-plugin-authorize-netwodoxo-medusa-plugin-category-imageswodoxo-medusa-starter-defaultwodoxo-medusa-variant-imagesmedusa-google-storagemedusa-hello-worldmedusa-import-matterhorn-v1medusa-import-xtradermedusa-payment-authorizenetmedusa-payment-bank-transfermedusa-jovanmedusa-outerspace-plugin-strapimedusa-locationmedusa-plugin-couriermedusa-fulfillment-econtmedusa-admin-dispatchermedusa-admin-vendormedusa-authorizenetmedusa-bank-transfermedusa-blogmedusa-admin-addressmedusa-csv-stock-managementmedusa-custom-medusamedusa-customer-queriesmedusa-shopism-basemedusa-starter-drivermedusa-starter-ordermedusa-storefront-configurationmedusa-product-options-metadata-voxsarmedusa-razorpay-webhookmds-plugin-shop-providermedusa-plugin-kafkamedusa-plugin-kycmedusa-plugin-mailjet1medusa-plugin-mbbankmedusa-plugin-reviews-and-ratingsmedusa-plugin-telegrammedusa-plugin-user-rolesmedusa-product-feature-displaymedusa-plugin-sapomedusa-plugin-quickbooksmedusa-plugin-razorpay-detailsmedusa-edit-optionvalue-metadatamedusa-plugin-delivery-matrixmedusa-plugin-demo-mtmedusa-plugin-easyblogmedusa-plugin-excel-importmedusa-plugin-fairemedusa-plugin-feedsmedusa-plugin-pagemedusa-plugin-pagesmedusa-plugin-blobmedusa-plugin-brevo-emailmedusa-plugin-paymobmedusa-payment-zalopay@weframetechsolutions/medusa-order-affiliate@teewoeijer/medusa@zoowee/medusa-payment-razorpayavif-convert3xb_medusa@ameerrizvi/medusajs-medusagcm-custom-fulfillment1medusa-plugin-multicurrencymedusa-plugin-nabx-multicurrency@kvytech/medusa-plugin-announcement@kvytech/medusa-plugin-management@kvytech/medusa-plugin-newsletter@kvytech/medusa-plugin-product-reviewsmy-headlessmy-medusa-storeshopism-affliate-marketingshopism-customer-authshopism-emails-messagesshopism-globalpayments-pluginshopism-order-docketshopism-subscription-pluginshopism-wishlist-plugincharadhul-notification-plugin@shiju-s/valoriz-loyalty-plugin@sgftech/medusa-plugin-auction@metaverse-ese-test-example/medusa@medusajs/medusa@hifive-dev/medusa-fulfillment-sendcloud@jxpeng98/medusa
2.1.2

10 months ago

2.1.1

10 months ago

2.1.3

10 months ago

2.1.0

11 months ago

2.5.0

8 months ago

2.5.1

8 months ago

2.4.0

9 months ago

2.8.1

5 months ago

2.8.0

5 months ago

2.8.3

5 months ago

2.8.2

5 months ago

2.8.4

5 months ago

2.0.3

11 months ago

2.0.2

12 months ago

2.0.5

11 months ago

2.0.4

11 months ago

2.0.7

11 months ago

2.0.6

11 months ago

2.3.0

9 months ago

2.3.1

9 months ago

2.7.0

6 months ago

2.7.1

6 months ago

2.2.0

10 months ago

2.6.1

7 months ago

2.6.0

8 months ago

2.0.1

12 months ago

2.0.0

12 months ago

1.0.4

1 year ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago