@edsdk/flmngr-example

1.0.6 • Public • Published

Flmngr file manager example

How to use Flmngr file manager in your project

This package shows how to run @edsdk/flmngr and @edsdk/flmngr-server together.

ImgPen image editor (@edsdk/imgpen) is also included in this plugin as an add-on for Flmngr.

Install, build, run

Clone this repository:

git clone https://github.com/edsdk/flmngr-example
cd flmngr-example

Then build and run it

npm run start

Then open http://localhost:8080 URL in your browser and enjoy the demo.

Explanation

When you start the demo, server side part @edsdk/flmngr-server is listening localhost:8080. It returns demo page as index page. The index page loads client script @edsdk/flmngr.

This script will open file manager when you click the button on the page and show you result when you close it. This frontend part will call backend at URL http://localhost:8080/flmngr which has access to the filesystem of your server.

When Flmngr uses its dependencies (Uploader or ImgPen image editor) it passed own configuration to dependencies, so you do not need to specify uploads URL for @edsdk/file-uploader-server and both Flmngr and ImgPen can use it to upload files or save edited images respectively.

License

BSD license for this example, EdSDK double license for Flmngr. You can install and test Flmngr in this package for free.

Package Sidebar

Install

npm i @edsdk/flmngr-example

Weekly Downloads

536

Version

1.0.6

License

Commercial EdSDK license

Unpacked Size

35.8 MB

Total Files

48

Last publish

Collaborators

  • dmitriy-komarov