Skip to content

Static web app showing current values of all sensors via Leaflet map

License

Notifications You must be signed in to change notification settings

smartemission/docker-se-smartapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SmartApp Web Application

The SmartApp is a minimal web application that shows the current values of SE sensor stations.

Hosting

The Docker Image is hosted as: smartemission/se-smartapp at DockerHub.

Environment

At the moment no environment variables are required: the SmartApp will use the locally running sosemu API.

Architecture

The image contains a static HTML webapp running in an nginx webserver.

The app should be accessed via the URL <container-address>/smartapp. Main reason is to allow nginx to do a relative 301 redirect to /smartapp/, i.s.o. every reverse proxy like Kubernetes or Traefik to bother with redirects.

It uses Leaflet for mapping and Handlebars for client-side templating.

The app uses the sosemu API service which is called via JSONP from the browser.

Links

About

Static web app showing current values of all sensors via Leaflet map

Resources

License

Stars

Watchers

Forks

Packages

No packages published