mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-16 02:19:18 +08:00
35 lines
981 B
Markdown
35 lines
981 B
Markdown
# A complete device dashboard
|
|
|
|
This example is a demonstration of how Mongoose Library could be integrated
|
|
into an embedded device and provide a complete device dashbord with the
|
|
following features:
|
|
|
|
- Multiple logins with different permissions (admin and user)
|
|
- Login screen for non-authenticated connections
|
|
- A [preact](https://preactjs.com/)-based dashboard with multiple pages
|
|
- Internal variables
|
|
- A form that changes those variables
|
|
- All changes are propagates to all connected clients
|
|
- Live log stream
|
|
- Live video stream
|
|
|
|
|
|
In essense, this example is a combination of several other examples
|
|
pulled together (multiple-logins, dashboard, live-log, video-stream).
|
|
|
|
# Screenshots
|
|
|
|
This is a login screen that prompts for user/password
|
|
|
|
![](screenshots/login.png)
|
|
|
|
# Main dashboard
|
|
|
|
A main dashboard page shows internal data, live video stream, and a form
|
|
|
|
![](screenshots/dashboard.png)
|
|
|
|
A live log page shows live log stream coming from device
|
|
|
|
![](screenshots/logs.png)
|