A minimal example using Zeebe with NestJS
MRE: Minimal Reproducible Example, or "Meal Ready to Eat".
This is a fully working minimal example of the NestJS Zeebe Connector. Props to Dan Shapir for writing it!
Nest is a TypeScript-powered MVC framework for developing Node.js backend applications.
Zeebe is a workflow engine for microservices orchestration.
You can run a Zeebe server locally using the Zeebe Docker profiles, or by downloading a release.
$ npm install
By default, the application connects to a broker running on localhost.
To connect to a remote broker, set the ZEEBE_ADDRESS
environment variable (and ZEEBE_CLIENT_ID
and ZEEBE_CLIENT_SECRET
if you are using the Zeebe service on Camunda Cloud).
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov