With java spring boot it’s easy
the write a web application. Standard this web application will run on port 8080.
On GNU/Linux, ports below 1024 are priviliged ports, so a normal
user can’t run a web application on ports below 1024.
So, I’ve set up nginx as a
reverse proxy
to make those web applications available on port 80.
The past months I’ve been working on creating my own smart thermostat.
More info is available at
http://www.janwagemakers.be/jekyll/portfolio/smartthermostat.html
and
https://gitlab.com/jan.wagemakers/thermostat/.
In 2012 I’ve connected a TC74 temperature sensor with a Raspberry Pi
and used a combination of a bash script and a web server to display the current
temperature on a web page.
Today, I’ve updated this setup. Instead of using a bash script, I now make
use of Apache and PHP.