Full-stack software engineer
I'm Ahmed Fathallah. I build with the modern TypeScript stack (Next.js App Router and React Server Components, end-to-end typed APIs with tRPC and Zod, Prisma on PostgreSQL) alongside Laravel and .NET back ends, and deliver them as containerised services through automated CI/CD. Increasingly, that includes integrating generative AI where it adds real value.
In-depth articles on architecture, type safety and shipping software to production.
8 articles

Featured
The fully automated pipeline behind this site: a multi-stage Next.js Dockerfile with BuildKit secrets, immutable SHA-tagged images on GHCR, workflow_run deployments with instant rollbacks, and Caddy as a hardened reverse proxy.
·9 min read
·6 min read
A build can pass and health checks stay green while production ships a placeholder value. How to validate env vars with Zod in a containerised Next.js app, why NEXT_PUBLIC_ values are frozen at build time, and where to fail fast.
·8 min read
Bringing Laravel's policy pattern to a Next.js + tRPC + Prisma app: permission-based policy classes, one authorize() call per procedure, compile-time checked action names, and Prisma scopes for lists.
·6 min read
Using PHP 8.1 backed enums so each set of statuses is defined once: string columns, Eloquent casts, Rule::enum validation, state transitions, value/label API responses and generated TypeScript types.
·4 min read
When building a web application, managing different software components can be tricky. Docker helps simplify this process by packaging your application and its dependencies into a single container. Here's how Docker can make your development and deployment easier.
·2 min read
Fitness, the state of being physically healthy and strong, is essential for overall well-being. It encompasses a wide range of activities, from cardiovascular exercise to strength training and flexibility exercises.
·2 min read
Programming is more than just writing code; it's about problem-solving, creativity, and logical thinking. When you learn to program, you're not just learning a skill, you're learning a way of thinking.
·1 min read
Hello, and, welcome to my blog. I hope you enjoy your time here and learn a thing or two
Whether it's feedback on an article, a technical question or a collaboration, I'd be glad to hear from you.