Skip to content
This repository has been archived by the owner on Jan 14, 2025. It is now read-only.

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

Merged
merged 6 commits into from
Feb 27, 2023

Conversation

tbouffard
Copy link
Member

@tbouffard tbouffard commented Feb 24, 2023

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:

  • conversion/xes-to-csv
  • conformance/alignment

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

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.

Notes: the following APIs are available, but they need to be improved to allow a correct display in
the frontend:
   - conversion/xes-to-csv
  - conformance/alignment
@tbouffard tbouffard merged commit 1d439bd into main Feb 27, 2023
@tbouffard tbouffard deleted the 18-simulate_python_server_API branch February 27, 2023 10:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
chore Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[TEST] Add a way to simulate the Python server to ease frontend developments
2 participants