The intent of Puff Serverless is to allow the deployment of hyper-scalable solution for centralized single sign-on, access control, and unified billing for multiple organisations across multiple applications.
We run JavaScript on Cloudflare Workers with Node compatibility, using Pages Functions directory routing for endpoints and Workers Static Assets for HTML/CSS/client-side JS. APIs return full HTML via HTMX to update in-page. Data is stored within Postgres-like CockroachDB accessed via Cloudflare Hyperdrive.
More can be read in Architecture.md