This project serves as a example for building a REST API with support for Hypermedia As The Engine Of Application State (HATEOAS), built with Apodini - A declarative, composable server-side Swift framework.
For more information on HATEOAS you might want to checkout Richardson Maturity Model - steps toward the glory of REST.
The project serves a rudimentary cloud based smart Lights IOT service.
Below is a simplified version of the SmartLights project:
Included is a exemplary SQLite database in order to experiment with the web service.