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

[TEST] Add a way to simulate the Python server to ease frontend developments #18

Closed tbouffard closed 1 year ago

tbouffard commented 1 year ago

Currently, when developing the front part of the demo, the Python server must be up. This requires that "frontend" contributors setup it which is not very convenient (Java must also be configured).

To simplify the development process, I suggest we develop a fake JavaScript server that will replicate the Python server behavior. If needed, this will also let easily test some edge cases: API errors, slow or fast responses, ....

The server has to replicate 2 API:

We could use Express, Fastify, NestJS, Next.js, or others.

Notes

This will help investigating #15 for instance