litenet_mockserver Svelte Themes

Litenet_mockserver

Mockserver for the Litenet-controller CLI

litenet_mockserver

This is a mockserver for the Litenet-controller CLI. It provides a local webserver to which the requests of the Litenet-controller can be sent to. The state of the luminaires (on / off / dimmed) are reflected in the GUI.

The webserver listens to the port 8000 by default.

Requirements

  • Node.js >= 16
  • Rust >= 1.62

Run the server

This is a Tauri app. To run the server in dev-mode, run following command:

npm run tauri dev

Build the app

To build an OS-native app, run following command:

npm run tauri build

Technologies used

  • Tauri (with Svelte, Vite and Rust)

Motivations

  • Create a mockserver to make testing the Litenet-controller CLI easier
  • Practice Rust
  • Try Tauri

VS Code + Svelte + Tauri + rust-analyzer.

Top categories

Loading Svelte Themes