I have to say, you still did a great job maintaining the frontend to a single file which is amazing for me as a newbie in frontend dev. And hosting a tiny backend is your simplest way to go with HafSQL.
Anyway, thanks for sharing your usage of HafSQL! I need it in my project as HiveSQL will not be free anymore soon.
Hopefully HiveSQL will stay free to use thanks to community support. At least, thank you for yours.