Sign inSign up

miragon/bpmn-to-code-web

By miragon

•Updated 5 days ago

Image
0

1.9K

miragon/bpmn-to-code-web repository overview

⁠bpmn-to-code-web

The web app of bpmn-to-code⁠: upload BPMN files in the browser and get the generated Process API or the process JSON, without a build tool. It uses the same generator as the Gradle and Maven plugins and keeps nothing on disk.

  • Output languages: Kotlin, Java, C# (experimental)
  • Engines: Camunda 8 / Zeebe, Camunda 7, Operaton
  • Up to three BPMN files per request; the generated code uses the package com.example.process

Hosted version: https://bpmn-to-code.miragon.io/static/index.html⁠

⁠Run

docker run -p 8080:8080 miragon/bpmn-to-code-web:latest

Then open http://localhost:8080⁠. The image is built for linux/amd64.

⁠Configuration

Environment variableDefaultMeaning
PORT8080Port the server listens on
ALLOWED_CORS_ORIGINSemptyComma-separated origins allowed to call the API. Empty or * allows all.
IMPRINT_URLemptyShows a "Legal Notice" link in the footer when set
PRIVACY_URLemptyShows a "Privacy Policy" link in the footer when set

⁠Routes

RoutePurpose
GET /Redirects to the UI at /static/index.html
POST /api/generateGenerates the Process API
POST /api/generate-jsonGenerates the process JSON
GET /api/configVersion and legal links
GET /healthHealth check, answers {"status": "UP"}
GET /swaggerSwagger UI for the API
GET /examples/<engine>-bike-leasing.bpmnBundled example model (zeebe, c7, operaton)

The image has no shell, so configure health checks in your orchestrator against /health.

Documentation: https://miragon.github.io/bpmn-to-code/web/⁠

Tag summary

Content type

Image

Digest

sha256:6bb733c4e…

Size

99.4 MB

Last updated

5 days ago

docker pull miragon/bpmn-to-code-web