Posts
Practical notes on frontend, backend and DevOps, written while building things.
Angular signals vs RxJS: which one to use and when
Signals hold state, RxJS handles events over time. A practical rule for choosing between them in Angular, with examples of each and how to bridge the two.
Core Web Vitals for single-page apps: what to fix first
LCP, INP and CLS explained for Angular and React apps, with the fixes that move each number the most and how to measure them on real users.
Deploy to Firebase Hosting with GitHub Actions, with preview URLs
A CI/CD pipeline that builds a site, publishes a preview URL for every pull request and deploys to production when the main branch changes.
Docker multi-stage builds for Angular, React and Node apps
Build small, secure Docker images with multi-stage builds. A static frontend served by Nginx and a Node API, with layer caching and a non-root user.
Drawing a career on a globe with React Three Fiber
How the globe on this site works. Country outlines from open map data, a rotation that follows the scroll, and arcs that draw themselves between cities.
Firestore security rules for a public contact form
How to let anonymous visitors write to Firestore without opening it up. Create-only rules, field validation and size limits, using this site's contact form.
Ionic, native or PWA: how to choose for a mobile app
A comparison of native apps, hybrid apps with Ionic and Capacitor, and progressive web apps, with the questions that decide which one fits a project.
Model UI state with TypeScript discriminated unions
Replace isLoading, error and data flags with one discriminated union. The compiler then rejects impossible states and tells you when you forget a case.
REST API design checklist: naming, errors, pagination and versioning
The decisions that make a REST API easy to use from a frontend. Resource naming, status codes, one error format, cursor pagination and a versioning plan.
SQL query optimization: a practical order of operations
How to speed up a slow SQL query. Read the plan with EXPLAIN, add the right index, remove N+1 queries and paginate with keys instead of offsets.
Working with AI coding assistants without lowering the bar
How to use AI coding assistants in real projects. Where they save time, where they fail, and the review habits that keep code quality and security intact.