Skip to content

Filesrocket service that manages the files of the Cloudinary

License

Notifications You must be signed in to change notification settings

filesrocket/filesrocket-cloudinary

Repository files navigation

filesrocket-cloudinary

npm version JavaScript Style Guide

Filesrocket service to manage your files with Cloudinary

Install

npm i filesrocket-cloudinary

Usage

To use the service add the following content

import { Filesrocket } from "filesrocket";
import { CloudinaryFileService } from "filesrocket-cloudinary";

// Initialize filesrocket
const filesrocket = new Filesrocket();

// Setting service
const cloudinary = new CloudinaryFileService({
  pagination: { default: 15, max: 50 },
  cloud_name: "<Your CLOUD NAME>",
  api_key: "<Your API KEY>",
  api_secret: "<Your API SECRET>"
});

// Register services
filesrocket.register("cloudinary", cloudinary);

// Recovering service
const service = filesrocket.service("cloudinary");

// Recovering controller
const controller = filesrocket.controller("cloudinary");

Note: To use this service, you need to have an account, enter here and follow the steps.

About

Filesrocket service that manages the files of the Cloudinary

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages