I wrote MicroPie to solve my simple server needs. The repo has a bunch of examples, from simple to somewhat complex.