skip to content
← back to all projects
shippedgithub ↗

webhook-gateway-admin

Angular admin UI for webhook-gateway — zoneless, signals, standalone.

AngularTypeScriptTailwindTanStack QueryZod

received

127

delivered

118

6 rows
  • 0da072stripefailed12s ago
  • 7c15e5shopifyretrying34s ago
  • f8872bstripeok1m ago
  • dec86cgithubok2m ago

filter is a signal(); computed() derives the visible rows

Elevator pitch

Second admin for webhook-gateway. The canonical admin is Next.js + React; this one is Angular with zoneless change detection, signal-based filters, and TanStack Query for Angular against the same backend. Built to demonstrate modern Angular against a real domain model, not a toy.

What it is

A modern Angular admin spanning the full webhook-gateway surface area:

  • Dashboard — totals (events received / deliveries ok / retrying / dead), latency (avg + p95), per-source + per-target rollup. 30 s refetch.
  • Events — signal-based filters (full-text, status, source), multi-select rows, bulk replay + bulk tombstone.
  • Event detail — full metadata, request headers, body preview, per-delivery status + last response excerpt + manual replay.
  • Deliveries — filter by status + target, per-row retry for failed / retrying / dead.
  • Sources — list + reactive form with Zod-validated SourceCreate body, plugin selector, signature tolerance, target multi-select, delete.
  • Targets — list + reactive form (URL validation, custom backoff schedule as comma-separated seconds, max attempts, timeout, enabled toggle, delete).
  • Settings — runtime-configurable API base URL + bearer token, persisted to localStorage.

Why this exists

A complete, public Angular admin against a real backend rather than a contrived toy.

Same backend, two frontends: I built the NestJS service and the React (Next.js) admin first, then the Angular admin against the same API and the same Zod schemas. Putting the two side by side makes the trade-offs concrete — signals + computed() vs. React state, TanStack Query in both, and how much of the domain layer is shared.

Modern Angular cheat sheet (what this exercises)

Feature Where
provideExperimentalZonelessChangeDetection() app.config.ts — no Zone.js; signals are the dirty marker
Standalone components every @Component; no NgModule anywhere
Template control flow (@if / @for / @switch) every feature template
input.required<T>() + withComponentInputBinding() event-detail, source-form, target-form
signal() + computed() for local state filter state in events + deliveries lists
TanStack Query for Angular (injectQuery / injectMutation) every feature page
Zod validation at the I/O boundary core/models/schemas.ts mirrors @webhook-gateway/shared 1-1
Reactive forms with Zod.safeParse on submit source + target forms
Functional router with lazy loadComponent app.routes.ts
Tailwind @theme tokens src/styles.css — single source of truth for the OKLCH palette

Numbers

  • 5 commits spanning 2 weekends (2026-07-11 → 2026-07-26) after the backend’s v1.0 shipped
  • 6 feature areas (dashboard, events, deliveries, sources, targets, settings) + shell + core
  • Bundle: ~140 KB initial gzipped at v1.0 (with lazy-loaded feature chunks)
  • Zero NgModules — fully standalone
  • Zone.js removed from polyfills