Hacker News new | ask | show | jobs
Show HN: Simple self-hosted voting for posts (github.com)
6 points by steelcityamir 864 days ago
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).

1 comments

Isn't preventing a user from voting twice on the same post something that has to be done on the server?