I needed a simple BE to pull data from while playing around in various framework sandboxes. While I'm at it, it's handy to have a dice roller...
It WAS an ExpressJS backend, containerized, and running in Docker.
But... I'm already doing this in Svelte/SvelteKit, and SvelteKit makes writing an API so easy...
So, visit tonydiethelm.life/dice/api with routes corresponding to rolling NdX dice. tonydiethelm.life/dice/api/4/20 should return 4d20. (Four random numbers from 1 to 20). Etc etc etc.
The response (an array of numbers) is JSONified.