1.6.0 • Published 1 year ago
@flowbuild/diagrams-core v1.6.0
diagrams-core
diagrams-core is a BPMN diagrams manager for your project.
Installation
Run the following command in your terminal:
npm install @flowbuild/diagrams-core
Usage
const { DiagramCore } = require('@flowbuild/diagrams-core');
const diagramCore = new DiagramCore(db);
// note that 'db' has to be a database configuration
The service does have a blueprint storage, but it only stores the data relevant to the diagram, a.k.a. nodes and lanes (prepare, environment and parameters are discarded).
Environment variables
Add a .env file with the following variables:
- KNEX_ENV (suggested value = docker)
- NODE_ENV (suggested value = docker)
- POSTGRES_USER (default = postgres)
- POSTGRES_PASSWORD (default = postgres)
- POSTGRES_DB (default = diagrams)
- POSTGRES_HOST (default = localhost)
- POSTGRES_PORT (default = 5432)
- LOG_LEVEL (default = info)
Testing on Docker:
Use the following command in order to setup two containers (database and test servers) and run migrations, seeds and tests.
docker-compose up
1.6.0
1 year ago
1.6.0-rc.10
1 year ago
1.6.0-rc.9
1 year ago
1.6.0-rc.8
1 year ago
1.6.0-rc.7
1 year ago
1.6.0-rc.6
1 year ago
1.6.0-rc.5
1 year ago
1.6.0-rc.4
1 year ago
1.6.0-rc.3
1 year ago
1.6.0-rc.2
1 year ago
1.6.0-rc.1
1 year ago
1.5.0
1 year ago
1.3.2
1 year ago
1.4.0
1 year ago
1.2.0
2 years ago
1.3.1-rc.1
2 years ago
1.3.1
2 years ago
1.3.0
2 years ago
1.2.1
2 years ago
1.1.0
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago