2 ms·
Show HN: Simple self-hosted voting for posts
I built this after launching a blog site with Hugo and wanting a simple solution for adding support for upvotes and downvotes on posts.
For the database, I was initially leaning towards using a key-value database like LevelDB to store the votes but chose SQLite because it has widespread support and gives me the ability to add other features later (e.g. comments).
- amadeuspagel 3y agoIsn't preventing a user from voting twice on the same post something that has to be done on the server?