feat(server): build axum web server for licensing, landing page, and updates

This commit is contained in:
Stevan Freeborn
2026-07-23 11:59:38 -05:00
parent 3b873f41a7
commit 792e6bd859
40 changed files with 3526 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
CREATE TABLE IF NOT EXISTS licenses (
id INTEGER PRIMARY KEY AUTOINCREMENT,
payment_id TEXT NOT NULL UNIQUE,
hwid TEXT NOT NULL,
device_count INTEGER NOT NULL DEFAULT 1,
max_devices INTEGER,
expires_at TEXT,
created_at TEXT NOT NULL,
updated_at TEXT NOT NULL
);
CREATE INDEX IF NOT EXISTS idx_licenses_payment_id ON licenses(payment_id);
CREATE INDEX IF NOT EXISTS idx_licenses_hwid ON licenses(hwid);