This is a concept for a Lambda API with a built-in single page HTML UI.
The HTML UI is done in react, with the code embedded in the HTML and all dependencies loaded from CDNs.
The API is just returning some hard-coded data.
There is a neat little router which iterates over a list of 'handler' interfaces, and returns the first handler result which handles the path of the event.
Try it out here!