Guides
Explore all topics and documentation guides under Guides.
Admin Panel
Customize the Mithril.js admin SPA with modules, field renderers, widgets, and custom pages.
Authentication
Session cookies for SSR and JWT refresh tokens for API routes with quickAuth and createAuth.
Database & ORM
defineModel, zdb schemas, repositories, migrations, relations, and query caching.
File-Based Routing
Static routes, dynamic parameters, catch-all patterns, API method files, and route middleware.
Polar Billing
Polar.sh subscription billing — checkout, portal, webhooks, tier sync, and rate limits.
Polar Billing Production Checklist
Pre-launch checklist for Webspresso Polar.sh subscription billing — env, webhooks, rate limits, external tier tables, and CSP.
Services Layer
File-based services, Zod validation, auth guards, transactions, and route invocation.
SSR & Templates
Nunjucks layouts, load() data fetchers, fsy helpers, streaming, and page assets.