Commit Graph

14 Commits

Author SHA1 Message Date
SatsFaucet
22a3c1bced Add deploy/ to .gitignore; backend index and openapi updates
Made-with: Cursor
2026-03-02 15:01:26 +01:00
SatsFaucet
623eb720dc Redesign faucet claim flow: login → loading → eligibility → claim
- Backend: payout is now random between FAUCET_MIN_SATS and FAUCET_MAX_SATS
- Remove weighted buckets; simplify config and .env.example
- Frontend: show loading and eligibility in main body, modal only for confirm/success
- Rename Confirm payout to Claim; add styles for body loading and eligible state

Made-with: Cursor
2026-03-02 14:59:37 +01:00
SatsFaucet
381597c96f Add Swagger docs at /docs and /openapi.json; frontend and backend updates
Made-with: Cursor
2026-03-01 01:24:51 +01:00
Michaël
bdb4892014 Backend: add PUBLIC_BASE_PATH for NIP-98 URL behind /api proxy
Made-with: Cursor
2026-02-28 00:21:01 -03:00
Michaël
c1ee2d54f9 Vite proxy: use VITE_API_URL from .env, forward Host/Proto for NIP-98
Made-with: Cursor
2026-02-28 00:16:16 -03:00
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
f31bbb12ab Refactor Transactions page: spacing, mobile cards, filters, skeleton & empty states
Made-with: Cursor
2026-02-26 19:28:24 -03:00
Michaël
921d223533 Add preview allowedHosts for faucet.lnpulse.app, add deploy config
Made-with: Cursor
2026-02-26 19:20:03 -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
d55db09b43 Fix TS6133: remove unused React imports and lightningAddressTouched
Made-with: Cursor
2026-02-26 18:56:07 -03:00
Michaël
c005e4755b Add full README with setup, API, and env docs
Made-with: Cursor
2026-02-26 18:35:48 -03:00
Michaël
3734365463 first commit
Made-with: Cursor
2026-02-26 18:33:00 -03:00