Files
EMS-ESP32/mock-api
2024-11-16 14:48:01 +01:00
..
2024-10-30 15:33:35 +01:00
2024-05-08 11:19:37 +02:00
2024-10-29 11:30:10 +01:00
2024-10-20 15:02:25 +02:00
2024-10-23 17:48:39 +02:00
2024-11-16 14:48:01 +01:00
2024-10-26 20:48:01 +02: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