Files
EMS-ESP32/mock-api
2024-03-09 09:58:12 +01:00
..
2024-03-09 09:58:12 +01:00
2023-06-30 14:25:01 +02:00
2023-10-15 17:02:37 +02:00
2023-07-03 10:00:03 +02:00
2024-03-09 09:58:12 +01:00
2024-02-11 10:32:33 +01:00
2024-03-09 09:58:12 +01:00
2024-02-11 10:32:33 +01:00
2024-01-21 11:46:13 +01:00
2024-03-09 09:58:12 +01:00

When developing and testing the web interface, it's handy not to bother with re-flashing an ESP32 each time. The idea is to mimic the ESP using a mock/stub server that responds to the REST (HTTP POST & GET) and WebSocket calls.

prerequisites

  • Install the latest LTS of NodeJS
  • Install yarn (npm install -g yarn)
  • Install bun (https://bun.sh/docs/installation)
  • type yarn from this mock-api folder to build

To run