Commit Graph

5 Commits

Author SHA1 Message Date
Michaël
184732c2a5 Fix backend TS: npub decode type guard for login-npub
Made-with: Cursor
2026-02-27 17:58:15 -03:00
Michaël
9fff2d427f Add public key (npub) login support
- Backend: POST /auth/login-npub endpoint, JWT carries login method
- Backend: Enforce Lightning address lock for npub logins in claim/quote
- Frontend: LoginModal supports npub via new endpoint, clear copy
- Frontend: Track loginMethod, lock LN address editing for npub users
- Handle missing Lightning address for npub users with helpful message

Made-with: Cursor
2026-02-27 17:56:15 -03:00
Michaël
5b516f02cb Production-ready overhaul: backend fixes, claim flow polish, SEO, mobile, nginx
Backend:
- Fix activity score (followersCount check), NIP-98 URL proto, wallet balance guard
- Add payment_hash to confirm response, spentTodaySats to stats
- Add idx_claims_ip_hash; security headers, graceful shutdown, periodic nonce cleanup

Frontend:
- Remove 8 legacy components; polish wizard (rules summary, profile card, confetti, share)
- Stats budget bar uses spentTodaySats; ErrorBoundary with reload

SEO & production:
- Full meta/OG/Twitter, favicon, JSON-LD, robots.txt, sitemap.xml
- Mobile CSS fixes; nginx static dist + gzip + cache + security headers
- Vite manualChunks; aria-labels, dynamic page titles

Made-with: Cursor
2026-02-27 16:29:37 -03:00
Michaël
ecc4e6d4bb Backend build: copy SQL schema files to dist for production start
Made-with: Cursor
2026-02-26 19:13:44 -03:00
Michaël
3734365463 first commit
Made-with: Cursor
2026-02-26 18:33:00 -03:00