Infrastructure
What this repository itself runs on, in infra/. Unlike the demos, these aren't examples: they are real, deployed systems that CI and every devcontainer depend on. Each page explains what the system is and why it is built that way, so they also work as examples of deploying to the cloud.
They follow the same rules as the rest of the repository:
- Tested without the cloud: against the same runtime and storage, run locally, so a change is proven before it is deployed.
- Credentials by role: CI holds only what it must, and a pull request, from a fork or not, holds none.
- Documented: the trade-offs, the costs, and what it doesn't fix.
- Hosted Nx cache
One Nx cache for CI and every devcontainer, on a Cloudflare Worker and R2: anyone can read it, only CI on main can write to it, with GitHub OIDC. Deployed with wrangler, its bucket and tokens managed with OpenTofu.