Tag
#fastapi
6 posts across the garden · browse essays
The Backend Learns to Speak JSON
Converted the compliance portal routes from serving HTML pages to returning clean data — separating what the server does from what the browser does.
Teaching the Frontend to Speak the Backend's Language
Added automatic type generation so the frontend and backend stay in sync — if the API changes, TypeScript catches it at build time instead of silently breaking.
A Backdoor (the Legal Kind) for Local Testing
Added a development-only bypass so the compliance portal loads without needing a real login during local testing.
FL 718.111(12)(g) association website and Xero PDF attachments
A statutorily-compliant association website with auth-gated official records, 940 docs auto-symlinked into the right categories, and source PDFs auto-attached to Xero transactions during sync.
Owner portal: FastAPI + HTMX with magic-link auth and Stripe checkout
Phase B Step 6: a passwordless self-service portal for unit owners, with HTMX partial swaps, signed-token auth, and Stripe Checkout for assessments.
Study portal: mobile quiz UI, browser speech synthesis, and a team-training admin view
A mobile-first HTMX quiz at /study/, audio mode powered entirely by the browser's SpeechSynthesis API, signed-cookie session state, and an admin dashboard for tracking multiple trainees.