
ambalimustapha.dev
This site: a statically generated Next.js and TypeScript app with a validated, rate-limited contact API that delivers branded email through Resend.
Tech stack
Next.js
TypeScript
React
SCSS
Resend
Overview
This site is where I present my work. It's built with Next.js on the App Router, React and strict TypeScript, styled with SCSS and deployed on Vercel. Every page except the contact endpoint is generated statically at build time, so visitors are served prerendered HTML.
Content lives in typed data files rather than in components: projects, case studies, articles, skills and experience. The figures shown on the site, such as the project count, are calculated from that same data, so they can't drift out of date.
What I built
A server-side contact API (Next.js route handler) that sends email through Resend
Input validation with length limits, a honeypot field and per-IP rate limiting
A branded HTML notification email with HTML escaping and a plain-text fallback
Project, case study and article pages generated from typed content
Filterable project listing and a homepage menu that highlights the section in view
Per-page canonical URLs, Open Graph and Twitter metadata, a sitemap and structured data
Engineering
The contact form is a real backend feature rather than a form that only looks functional. The route handler checks every field on the server, rejects oversized input, quietly drops submissions that fill the hidden honeypot and limits each IP address to three messages every ten minutes. The visitor's name is stripped of control characters and every field is HTML-escaped before it goes into the email, which closes off header injection and markup injection.
The notification email is built from table-based markup with inline styles so it renders consistently in Gmail, sets the visitor as the Reply-To address and carries a unique reference header so separate enquiries don't collapse into one thread.
Search and sharing metadata is generated per page: each route has its own canonical URL, title, description and social preview, and articles publish BlogPosting structured data.
Accessibility
The site includes a skip link, visible keyboard focus styles and screen-reader feedback for the contact form. Scrolling and typing animations respect the reduced-motion setting, and decorative images are hidden from assistive technology while informative ones carry descriptive alt text.
Current status
Live and actively maintained. I keep refining sections as my projects and experience evolve.