mongoose/examples/complete
2021-01-07 12:48:20 +00:00
..
images 7.0 refactor 2020-12-05 11:26:32 +00:00
screenshots Add description & screenshots 2020-12-16 10:54:09 +00:00
web_root Update axios 2021-01-06 17:11:53 +00:00
main.c Add extra headers param to mg_http_serve_file 2021-01-07 12:48:20 +00:00
Makefile 7.0 refactor 2020-12-05 11:26:32 +00:00
mjson.c 7.0 refactor 2020-12-05 11:26:32 +00:00
mjson.h 7.0 refactor 2020-12-05 11:26:32 +00:00
README.md Fix screenshot link 2020-12-16 10:54:47 +00:00

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-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

Main dashboard

A main dashboard page shows internal data, live video stream, and a form

A live log page shows live log stream coming from device