Skip to main content
ENGINEERING BLOG

Real-world
engineering.

Production notes on Python, FastAPI, React, security architecture and AI-augmented development. No tutorials — actual patterns from deployed systems.

RSS
AI Site Search
Filter:
6
#React 19#TypeScript#Tailwind CSS#UI/UX#Component Architecture

React 19 Portals for Isolated Tenant Modals: Breaking Out of Stacking Contexts Without z-index Wars

Implement React 19 Portals combined with Tailwind CSS z-index layers to render multi-tenant modal dialogs, dropdowns, and popovers outside the cascade of deeply nested AI feature dashboards, eliminating CSS stacking context battles and guaranteeing modals always appear on top regardless of parent transforms.

16 June 2026
3 min read Read
16
#PostgreSQL#DevOps#Disaster Recovery#S3#Render#SaaS Reliability#Backup Strategy

Render PostgreSQL Backups to S3: Automating Disaster Recovery for Multi-Tenant SaaS Without Vendor Lock-In

Implement automated PostgreSQL WAL archiving and point-in-time recovery by streaming Render's native backups to Cloudflare R2 or AWS S3, enabling independent restore capabilities that survive platform outages and protect CitizenApp's multi-tenant data against catastrophic failures.

9 June 2026
2 min read Read
17
#PostgreSQL#Multi-tenancy#Data Architecture#SQLAlchemy#Referential Integrity

PostgreSQL Foreign Key Cycles in Multi-Tenant Hierarchies: Breaking Circular Dependencies Without Violating Referential Integrity

Architect tenant organizational structures where users belong to teams, teams have managers (who are users), and managers delegate permissions back to teams—all without circular foreign key constraints that PostgreSQL rejects, using deferred constraints and careful insertion ordering.

8 June 2026
2 min read Read