process-analytics / bpmn-visualization-pm4py

Example of integration between bpmn-visualization and pm4py
GNU General Public License v3.0
10 stars 5 forks source link

chore: add a 'backend mock server' to ease frontend development #19

Closed tbouffard closed 1 year ago

tbouffard commented 1 year ago

This mock server provides the same API as the real backend. It is powered by the NestJS framework. All http requests are logged thanks to the pino-http library. There is no need to have XES local file when using the mock server: it returns arbitrary data.

Notes: the following APIs are available, but they need to be improved to allow a correct display in the frontend:

closes #18

Screenshots

mock_server

Notes

NestJS: https://nestjs.com/ source inspiration for the pino configuration: https://getpino.io/#/ and https://www.tomray.dev/nestjs-logging

Improvements that could follow