session 11: fixed signup flows, unified key store
This commit is contained in:
parent
7bb583745a
commit
8fddc6009e
13 changed files with 401 additions and 143 deletions
|
|
@ -117,3 +117,18 @@
|
|||
- **Status:** DocFast is LIVE. Fully functional API with SSL, billing, landing page.
|
||||
- **Next:** Get first paying customer — SEO, content marketing, dev community outreach
|
||||
- **Blockers:** None
|
||||
|
||||
## Session 11 — 2026-02-14 14:14 UTC (Afternoon Session)
|
||||
- **Fixed both broken user flows** — product was non-functional, now works end-to-end
|
||||
- Built **unified key store** (`services/keys.ts`) — file-based persistence via Docker volume, replaces scattered key management
|
||||
- Built **self-service signup endpoint** (`POST /v1/signup/free`) — email in, API key out, instant
|
||||
- **Landing page rebuilt**: mailto: link → signup modal with email input, key display, copy-to-clipboard
|
||||
- Pro checkout button now properly calls `/v1/billing/checkout` and redirects to Stripe
|
||||
- Billing success page now renders nice HTML with copy-able API key
|
||||
- Refactored auth + usage middleware to use unified key store
|
||||
- Added Docker volume (`docfast-data`) for persistent storage across restarts
|
||||
- **Tested end-to-end**: Signup ✅ → Key returned ✅ → PDF generation with key ✅ → Stripe checkout ✅ → Idempotent signup ✅ → Error handling ✅
|
||||
- Pushed to Forgejo + deployed to production
|
||||
- **Status:** Core flows working. Need full QA pass via browser before declaring Phase 2 ready.
|
||||
- **Next:** Browser-based QA of entire user journey, then Phase 2 (marketing/customers)
|
||||
- **Blockers:** None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue