0.0.3 • Published 3 years ago

@okonomi-gmbh/dms v0.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Okonomi Document Management Service JS Client

Vanilla JS client to interact with the Okonomi Document Management Service.

The Okonomi Document Management Service is a headless, application level microservice to manage files on common cloud storage services like S3. It can be used to add document management capabilities to existing applications.

Core features of the Okonomi Document Management Service are:

  • Documented REST API (openApi 3)
  • Metadata for files
  • Metadata based Access Control
  • Metadata based search
  • PDF Preview
  • Image Resizing and Cropping
  • Webhooks
  • Admin UI

Getting started

Install the client lirary:

$ npm install --save @okonomi-gmbh/dms
# or
$ yarn add @okonomi-gmbh/dms

Create a client instance:

import {client} from "@okonomi-gmbh/dms/src";

const dmsClient = client({
  url,
  token,
});

Use the client to search for existing documents:

dmsClient.search().then(result => {
    console.log(result);
});

Okonomi GmbH 2021