API Composition Gateway
Unified edge gateway merging REST + GraphQL + feature flags with request coalescing, circuit breakers, and typed schema guards.
Senior Web Engineer
Software Architect | Specialized in PHP, Laravel & Java | Building Scalable, High-Performance Web Solutions with Secure CI/CD
// Edge-friendly SSR + API composition example (TypeScript)
import { cache } from 'next/cache';
import { z } from 'zod';
const UserSchema = z.object({
id: z.string(),
name: z.string(),
plan: z.enum(['free','pro','enterprise']),
usage: z.number()
});
export const getUser = cache(async (id: string) => {
const r = await fetch(`${process.env.API}/users/${id}`, { next: { revalidate: 15 } });
if (!r.ok) throw new Error('Upstream failure');
return UserSchema.parse(await r.json());
});
export async function GET(req: Request) {
const id = new URL(req.url).searchParams.get('id') || 'me';
const user = await getUser(id);
return Response.json({
id: user.id,
tier: user.plan,
usagePct: +(user.usage / 1000).toFixed(2)
}, { headers: { 'Cache-Control': 'public, max-age=30, stale-while-revalidate=120' }});
}
I’m Redoyan Hasan, a senior web engineer specializing in robust architectures using PHP (Laravel) and Java. I blend system design and high-performance API composition into cohesive delivery pipelines that provide measurable user value.
My workflow integrates strict typed contracts and CI quality gates—including automated testing, accessibility audits, and bundle budgets. I follow an observability-first approach using structured logs and real-user metrics to ensure reliability.
I advocate for engineering discipline: small PRs, explicit boundaries, and steady refactoring. My goal is to reduce long-term entropy and cognitive load, keeping the codebase clean and maintainable.
I integrate performance budgets, a11y scans, contract tests, and dependency audits into pipelines to maintain release confidence.
Unified edge gateway merging REST + GraphQL + feature flags with request coalescing, circuit breakers, and typed schema guards.
Real user monitoring SPA tracking CWV, hydration timings, resource hints effectiveness & surfacing regression deltas.
CLI + CI integration comparing production DB telemetry vs schema definitions, flagging drift & generating migration diffs.
Next Case Study
In Progress