@open-xchange/ui-middleware

App Suite UI specific middleware

Usage no npm install needed!

<script type="module">
  import openXchangeUiMiddleware from 'https://cdn.skypack.dev/@open-xchange/ui-middleware';
</script>

README

App Suite UI Middleware

build status coverage report

Starting

yarn start

Config

See .env-example.

Running tests

  • yarn test will run the tests
  • Tests are located in the test directory

Source files

Are located in src directory

Development

Use yarn dev to start the middleware and watcher which runs eslint and the tests on each file change.

Architecture

The middleware is stateless, this enables easy scaling and clustering.

Clustering

The middleware uses the native node clustering module. To enable multiple processes, set a number of processes to spawn in the .env file.

Frameworks

Debugging

  • Prerequisite: Node v.6.3.0+, Chrome 55+
  • Use yarn debug to start the middleware in debugging mode
  • When using cluster please take a closer look at the stdout output when starting the server (usally ports 9229, 5859++). Please ensure these ports are also listet in the "Connection" tag