PhilippTheServer

frontend

Angular, TypeScript, and interfaces that show the truth about a system.

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. 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.

All topics · All writing