feat(pwa): signup profile fields via @profullstack/profile

The create-account form (/?mode=up) asks for first/last name (required) and
company domain, job title, LinkedIn (optional) beside the email box, rendered
by renderProfileFields. /auth/register validates them with validateProfile
before the user exists and stores them with saveSignupProfile in a new
user_profiles table keyed by users.id. GET/PUT/PATCH /api/v1/me/profile
(session cookie) and a "Your details" card on /settings. Sign-in, passkey and
CoinPay are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Anthony Ettinger 2026-10-26 11:20:16 +00:00
parent ff0c903c6d
commit d5087c7f51
10 changed files with 230 additions and 6 deletions

View file

@ -13,6 +13,7 @@
"dependencies": {
"@profullstack/footer": "latest",
"@profullstack/libsql-pg": "^0.1.2",
"@profullstack/profile": "0.1.6",
"@simplewebauthn/browser": "^13.3.0",
"@simplewebauthn/server": "^13.1.0",
"cookie-parser": "^1.4.7",