frontend
Angular, TypeScript, and interfaces that show the truth about a system.
-
Building a Headless Storefront Against the OpenTaberna API
A headless storefront for OpenTaberna: a 37-line API client, TypeScript types generated from OpenAPI, and a compiler that catches field typos.
-
Testing That a Canvas Diagram Actually Painted Pixels
getImageData in Playwright to assert a canvas actually drew pixels, since jsdom has no canvas renderer and DOM assertions pass on a blank canvas.
-
Runtime Configuration for an Angular Container Without Rebuilding
Angular environment.ts is baked in at ng build. Load config.json via APP_INITIALIZER, generated by envsubst in /docker-entrypoint.d at container start.
-
Layering an Angular Application: core, shared, features and the Rule That Holds
eslint-plugin-boundaries element-types: enforcing one dependency direction between Angular core, shared and features folders, with a failing lint example.
-
Embedding a Built Frontend Into a Go Binary with go:embed
//go:embed dist with http.FileServer returns 404 on SPA client routes after a refresh: an index.html fallback, serving the API from the same Go binary.
-
One Dashboard on Five Unrelated Backends: Normalising at the Boundary
asyncio.gather with return_exceptions=True in a FastAPI BFF: map two upstream APIs onto one schema and return partial data with health when one is down.