• Stars
    star
    554
  • Rank 77,606 (Top 2 %)
  • Language
    JavaScript
  • License
    Apache License 2.0
  • Created over 6 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

React based FileManager for browser ( + FS REST API for Node.js and Express)

Filemanager

badge-circleci badge-npm badge-license

Demo

React Documentation

Demo and react documentation are powered by React Showroom

Packages

Detailed documentation for each package is coming soon.

Spring Boot Starter

Spring boot applications can benefit from Spring boot starter package found here:

Basic usage

Client implementation is an npm package which can be embed into your application. It uses React framework and supports connectors to different file storages. Predefined connectors are:

You can write you own custom connectors (documentation on how to do it will appear later).

How to use Server Node

Server Node API v1 Documentation

Install package

npm install --save @opuscapita/filemanager-server

Now you have at least two ways of using it:

  • Start as application
let config = {
  fsRoot: __dirname,
  rootName: 'Root folder',
  port: process.env.PORT || '3020',
  host: process.env.HOST || 'localhost'
};

let filemanager = require('@opuscapita/filemanager-server');
filemanager.server.run(config);

How to use Client React

Install packages

npm install --save @opuscapita/react-filemanager @opuscapita/react-filemanager-connector-node-v1

Use it as a child component of you application

import React from 'react';
import ReactDOM from 'react-dom';
import { FileManager, FileNavigator } from '@opuscapita/react-filemanager';
import connectorNodeV1 from '@opuscapita/react-filemanager-connector-node-v1';

const apiOptions = {
  ...connectorNodeV1.apiOptions,
  apiRoot: `http://opuscapita-filemanager-demo-master.azurewebsites.net/` // Or you local Server Node V1 installation.
}

const fileManager = (
 <div style={{ height: '480px' }}>
    <FileManager>
      <FileNavigator
        id="filemanager-1"
        api={connectorNodeV1.api}
        apiOptions={apiOptions}
        capabilities={connectorNodeV1.capabilities}
        listViewLayout={connectorNodeV1.listViewLayout}
        viewLayoutOptions={connectorNodeV1.viewLayoutOptions}
      />
    </FileManager>
  </div>
);

ReactDOM.render(fileManager, document.body);

Changelog

Code of Conduct

Contributing Guide

Development

In any directory with Makefile (including repo's root) type make to see available commands (requires make utility to be installed locally, ideally GNU MAKE 4.2.1).

There're prebuilt docker images with tools needed for building code and deploying demo application:

make container-for-code # starts a container, where one can execute 'make' to test/build/etc code (both for JS and Spring boot parts)
// or
make container-for-deployment # starts a container, where one can execute 'make' with goals related to deployment of demo application

Main contributors

Alexey Sergeev
Kirill Volkovich
Andrei Mourzenkov
Aleksandr Baliunov
Egor Stambakio

License

Licensed under the Apache License, Version 2.0. See LICENSE for the full license text.

More Repositories

1

react-showroom-client

Catalog of React based components with versioning and realtime props editing support
JavaScript
244
star
2

react-markdown

Markdown editor (input) based on React
JavaScript
112
star
3

weceem-plugin

Grails Weceem CMS Plugin
Groovy
58
star
4

weceem-app

Weceem CMS Standalone Application
Groovy
53
star
5

react-dates

React date(range) inputs/pickers
JavaScript
47
star
6

fsm-workflow

FSM workflow (for Node.js)
JavaScript
28
star
7

react-grid

React grid component
JavaScript
25
star
8

react-crudeditor

OpusCapita React CRUD Editor
JavaScript
20
star
9

react-signalr

Higher-Order Component that provides a connection to a SignalR hub. This component adds a hub proxy, that may be used to register and unregister event listeners, and also to invoke a hub controller and send data to it.
JavaScript
19
star
10

react-dashboard

Dashboard component with draggable resizable grid layout. Demo:
JavaScript
18
star
11

grailsflow-core-plugin

Open source Workflow and Process Engine written in Grails
Groovy
16
star
12

grailsflow-app

Application that demonstrates usage of grailsflow-core plugin
Groovy
8
star
13

i18n

Provides simple i18n mechanism for JS applications/modules.
JavaScript
7
star
14

react-loaders

Loading and rendering React components from remote JS bundles on the fly!
JavaScript
7
star
15

eslint-config

Company wide specific rules for (es)linting
JavaScript
6
star
16

react-async-select

Async dropdown component with advanced search modal
JavaScript
6
star
17

svg-icons

SVG (Scalable Vector Graphics) icons library
JavaScript
5
star
18

properties

Command line utility to work with '*.properties' file
Go
5
star
19

react-hierarchy-selector

React component for selecting items from hierarchies
JavaScript
5
star
20

weceem-spring-security

Grails Plugin for Weceem Spring Security integration
Groovy
4
star
21

oc-common-ui

OpusCapita common styles and React components for user interfaces
CSS
4
star
22

react-navigation

Navigation menu
JavaScript
4
star
23

react-reference-select

Base React components for creating reference search components
JavaScript
4
star
24

raml-to-markdown

Create Markdown documentaion out of RAML files.
JavaScript
3
star
25

react-hierarchy-tree

Hierarchy tree component that uses @opuscapita/react-grid and @opuscapita/react-treeview components
JavaScript
3
star
26

styles

Node.js based service that serves shared styles/images/fonts via HTTP
HTML
3
star
27

react-component-template

JavaScript
3
star
28

npm-scripts

NPM scripts: used for publishing packages, etc.
JavaScript
3
star
29

react-wizard

Wizard component that can contain any number of wizard pages and provides navigation between pages
CSS
3
star
30

react-buttons

JavaScript
3
star
31

react-rich-editors

JS React based rich editors based on Draft.js
JavaScript
3
star
32

node-tutorial

Simple tutorial for anyone who never worked with node
JavaScript
2
star
33

react-tree-component

Simple React Tree Component using rc-tree as a base component.
CSS
2
star
34

react-alerts

React alerts component to show global notifications
JavaScript
2
star
35

react-overlays

Modals, tooltips, etc.
JavaScript
2
star
36

react-select

Wrapper around "react-select" with OpusCapita styles.
JavaScript
2
star
37

react-svg

React components for easilly using SVG
JavaScript
2
star
38

react-layouts

JavaScript
1
star
39

embedded-tomcat-ci

Provides possibility to build executable JAR from WAR
Groovy
1
star
40

fsm4j

JavaScript
1
star
41

node-base

Docker node base image based on node:8-alpine with rsync, curl and npm@latest (5.0.1)
1
star
42

babel-plugin-transform-import-styles

Pack CSS/LESS into JS without Webpack (library building)
JavaScript
1
star
43

react-list

React list component
JavaScript
1
star
44

react-cards

React cards component
CSS
1
star
45

sequelize-to-markdown

DEPRECATED Create Markdown documentations out of sequelize models.
JavaScript
1
star
46

test-github-flow

Test repository used to demonstrate github power to team (will be removed soon)
JavaScript
1
star
47

minsk-core-presentations

Slides for presentation
JavaScript
1
star
48

react-splitpane

React draggable split pane component
CSS
1
star
49

react-autocompletes

JavaScript
1
star
50

pim-integrations-expression-unit-test

A tool from OpusCapita, to make it possible to write unit tests for expressions in PIM
JavaScript
1
star
51

pim-integrations-expression-unit-test-examples

A collection of examples how to use the unitTestLibrary
JavaScript
1
star