My portfolio is a fake GitHub pull request where the visitor is the code reviewer. The tabs map to real portfolio sections: Conversation is the About page, Files Changed is Skills, Commits is Projects, and Checks is Achievements. I built it for the AWS Student Builder Challenge and wanted the format to actually mean something rather than just look cute.
How the frontend is structured
Every page is a plain HTML file. There's `index.html`, `aws.html`, `open-source.html`, `race.html`, `ask.html`, `blog.html`, `resume.html`, `contact.html`, `404.html`, and `projects/docanalytics.html`. Styles live in `style.css` and `config.js` holds the API URL so I'm not hardcoding endpoints everywhere. I deploy with `deploy.sh` and host on AWS Amplify with CloudFront in front.
The fun stuff is scattered through the frontend. Press `/` and a fake terminal opens. There's a Konami code easter egg. You can click any diff line to leave a review comment, which felt right given the PR theme. The centerpiece is a pulsing "Merge pull request" button. Clicking it runs a fake git merge animation, fires confetti, and kicks off a real AWS Step Functions Express workflow in the background. I also built a kart racing game called Pipeline Grand Prix in `race.html` where you race to reach the merge button.
How the backend is wired together
The backend is a SAM template at `backend/template.yaml` with the Lambda handler in `backend/src/app.mjs`. It's written as an ES module, which is why `package.json` sets `"type": "module"`. API Gateway (HTTP API) sits in front of Lambda. The contact form goes through SES, the merge notification fires an SNS message, and visitor data or merge events land in DynamoDB. The "Ask" page at `ask.html` calls Amazon Bedrock so visitors can ask me questions and get answers generated from context about me.
The Step Functions Express workflow is the piece I'm most happy with. Express workflows are meant for short, high-throughput runs, which fits a one-off merge event well. I'd probably swap to Standard workflows if I ever needed to audit every execution in detail, but for a portfolio hit that's overkill.
Where the rough edges are
Keeping `config.js` updated after every deploy is a manual step I haven't automated yet. The `deploy.sh` script handles the SAM deploy but doesn't rewrite the API URL in the config file, so there's a gap there. I'd also want to add a real rate limit on the Bedrock endpoint before sharing this widely, since right now anyone who finds `ask.html` can rack up inference calls.
Another student picking this up would get a working example of SAM connecting several AWS services at once, which took me a while to find a clear end-to-end example of. The `backend/template.yaml` is the file to read first if that's what you're after.
Loading article