Third Project Nearing Wrap-Up
And... done. Just got the last REST endpoint taken care of. Still using the higher-order-function/closure frequently. The code is hard on the eyes, frankly. I don't author a higher-order function directly; I start by taking an example of the kind of function I want to return as a closure, and replace all the key values with variables.
When I'm done I have a function that returns functions, at the cost of the code being rather unmaintainable. It reduces code duplication; but the main upside of DRY is to only ever need to make changes in one place. Making that kind of change would be a little hairy, in this case.
Anyway, I've got a week to go. In that time I need to test the code thoroughly, comment it where I haven't yet, containerize it with docker and deploy it to a cloud service (AWS is my choice). Doable. The code is here if you're interested.
15 January 2023