The svson.xyz blog

Feedback

Published:
Tags: admin svson webdev
193 words
1 min read

Today, after doing a bunch of work on the page templates, I added a feedback page.

For that I wrote a little microservice in NodeJS that stores the submitted data into an SQLite database. Since I didn’t want to have to deal with having any HTML on the microservice, then the microservice does the usual microservice business (validation, stuffing data into the database, etc.) and then responds with a redirect to a pre-made static page.

If all goes well then no one should be able to see the failure page, so click here if you wish to see it. If you want to see the feedback OK page then go give it a try1. There’s (small in size) pictures on both of them2 ;).

Some parts are still broken on this site. Still going to deploy because otherwise I’ll forget to do it for a while again ;).


  1. Given the fail page URL, it’s fair to assume that no one is going to guess the OK page URL :–D. ↩︎

  2. Though the OK page picture does end up looking a bit scary in dark mode (in which an invert filter gets slapped onto it). ↩︎