Use Imgur as a filservice for medusajs
Imgur’s API exposes the entire Imgur infrastructure via a standardized programmatic interface. Using Imgur’s API, you can do just about anything you can do on imgur.com
Run the bellow command and follwo the instructions
npm i medusa-imgur
First of all we need your clientId
nad clientSecret
to obtain them you should
And then in the medusa-config.js
add the plugin and credentials.
const plugins = [
// ...
{
resolve: `medusa-imgur`,
options: {
clientId: string,
clientSecret: string,
},
},
]
Thats it enjoy it ⭐