Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/samyarkd/medusa-imgur
Use Imgur as a filservice for medusajs
https://github.com/samyarkd/medusa-imgur
imgur medusa medusa-plugin medusajs
Last synced: about 1 month ago
JSON representation
Use Imgur as a filservice for medusajs
- Host: GitHub
- URL: https://github.com/samyarkd/medusa-imgur
- Owner: samyarkd
- Created: 2023-04-13T00:10:03.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-04-13T01:10:46.000Z (over 1 year ago)
- Last Synced: 2024-10-30T02:36:54.207Z (about 1 month ago)
- Topics: imgur, medusa, medusa-plugin, medusajs
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/medusa-imgur
- Size: 20.5 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-medusajs - Imgur - square) ![stars](https://img.shields.io/github/stars/samyarkd/medusa-imgur) (Uncategorized / Uncategorized)
README
# medusa-imgur
Use [Imgur](https://imgur.com/) 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
## Install
Run the bellow command and follwo the instructions
`npm i medusa-imgur`
## Useage
First of all we need your `clientId` nad `clientSecret` to obtain them you should
* [Register an Imgur account](https://imgur.com/register)
* [Create an application](https://api.imgur.com/#registerapp)And then in the `medusa-config.js` add the plugin and credentials.
```Typescript
const plugins = [
// ...
{
resolve: `medusa-imgur`,
options: {
clientId: string,
clientSecret: string,
},
},
]
```Thats it enjoy it ⭐