Layer 05 · Portfolio

Software & Product Engineering

Architecture carried far enough to become working software.

The question this page answers

Can Blair personally design and build real software?

Featured build

Something I built and run.

01FrameworkNext.js
02LanguageTypeScript
03StylingTailwind CSS
04AIGemini API
05TestingPlaywright

This site: a career-journey-driven personal site with a grounded AI chatbot

One structured JSON file drives every page, the resume, and the chatbot

A Next.js personal site generated from a single structured career-journey JSON file, with a Gemini-powered chatbot grounded only in that data.

Next.jsTypeScriptTailwind CSSGemini APIPlaywright

Read the case study : This site: a career-journey-driven personal site with a grounded AI chatbot

How I build

Contracts before code.

The domain model and the interfaces get written down first. Code written against an explicit contract is easier to test, and easier for a coding agent to change without breaking something two layers away.

  1. 01

    Model the domain

    Name the business objects, their states, and who can change them.

  2. 02

    Define the architecture

    Decide the boundaries and where each piece of state lives.

  3. 03

    Create interfaces and contracts

    Write the schemas and APIs before the code behind them.

  4. 04

    Build

    Implement against the contracts.

  5. 05

    Test and validate

    Check behavior against the contracts and the domain rules.

  6. 06

    Iterate

    Change the model when real use shows it was wrong.

Architecture for AI-assisted engineering

Humans and coding agents in the same codebase.

A coding agent follows whatever structure the repository makes explicit. These are the parts I make explicit, and what each one buys.

What’s written downWhat it buys
Architecture rulesGenerated code lands in predictable places
Agent instructionsEach change stays inside a bounded area
Service boundariesOne part can change without reading the whole system
Tests and schemasGenerated code is checked before anyone relies on it

Technical toolkit

What I build with.

TypeScriptNode.jsReactPostgreSQLPrismaAPIsWebSocketsDockerOAuth / SSOAI APIsMCPpgvectorTemporal