@flowbuild/diagrams

1.5.0 • Public • Published

diagrams

diagrams is a service to manage BPMN diagrams.

language Quality Gate Status semantic-release: angular

Environment variables

Add a .env file with the following variables:

  • JWT_KEY (default = 1234)
  • 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)
  • DIAGRAMS_LOG_LEVEL (default = info)
  • CORE_LOG_LEVEL (default = info)

Run the project on docker

To run app on docker, just run the command:

docker-compose up

Make sure ports 5000 and 5432 are free to use on your localhost.

Tests

You can run tests by running:

npm run test

Note: some tests will fail if you don't have the database running.

Swagger

When the app is running along with the database you can access the following swagger to check out the API routes and test them yourself:

http://localhost:5000/swagger

/@flowbuild/diagrams/

    Package Sidebar

    Install

    npm i @flowbuild/diagrams

    Weekly Downloads

    0

    Version

    1.5.0

    License

    MIT

    Unpacked Size

    154 kB

    Total Files

    65

    Last publish

    Collaborators

    • imagure
    • lucas.biason.fdte
    • wallace.silva.ferreira
    • ricardo.imagure
    • pedropereiraassis
    • fdte_pcasari
    • gustavo_fdte
    • rafgoncalves
    • elson_oliveira
    • bot.flowbuild