Archived
This repository has been archived on 2026-08-20 . You can view files and clone it. You cannot open issues or pull requests or push a commit.
e1210383827610f8cb724b2a6fd88ffaaf9985e3
Replaces the broken counter-bump RPC with a per-user share_votes table (PK share_id+user_id, RLS-enforced ownership). One vote per user per card, change direction or undo any time. Auth required for write; read is public. share_cards.upvotes/downvotes/score stay in sync via recalc trigger. New endpoints: POST /api/vote (auth-gated), GET /api/vote-state/:id (auth-aware).
Description
Neuron marketing site - El-native server
10 MiB
Languages
Emacs Lisp
47.3%
C
34.6%
HTML
7.5%
TypeScript
5.4%
JavaScript
2.4%
Other
2.8%