seashell / drago

☁️ Securely connect anything with WireGuard® and manage all your networks from a single place.
https://seashell.github.io/drago
Apache License 2.0
1.11k stars 57 forks source link

Mock HTTP API for UI development #47

Open edufschmidt opened 3 years ago

edufschmidt commented 3 years ago

As a developer, I would like to be able to work on the web UI without having to rely on the agent to serve the HTTP API.

In other words, I would like to be able to run the Web UI in development mode in such a way that all the data needed for testing it is served by a mock API. Ideally, I would like this process to be as seamless as possible, and not require complex configuration to switch from consuming data served by the Drago agent to consuming data from the mock API.

miragejs seems like a promising solution.