An authenticated micro-app for tracking the last time I took a medication. Both GET / and POST /press are authenticated using honoBasicAuthMiddleware.
GET /
POST /press
Views the value of basicAuthButton:last-pressed in blob storage.
basicAuthButton:last-pressed
Updates the value of basicAuthButton:last-pressed in blob storage with the current timestamp.
https://jdan-basicauthbutton.web.val.run
https://esm.town/v/jdan/basicAuthButton
<script type="module" src="https://esm.town/v/jdan/basicAuthButton"></script>