@medusajs/file-local v1.0.3
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 = [
// ...
`@medusajs/file-local`
]
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.
8 days ago
12 days ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago