This val demonstrates the creation of an API with a programmatically generated set of data instead of an existing Val Town lowdb instance.
https://nbbaier-mocktoapi.web.val.run
https://esm.town/v/nbbaier/mockToApi
<script type="module" src="https://esm.town/v/nbbaier/mockToApi" />