Full-stack monorepo powering my artist portfolio — web, admin, and Android apps sharing a single API. Built entirely with AI coding agents: Claude Code for the web and Rails backend, opencode with a custom multi-agent setup for Android (Jetpack Compose). Three platforms, one API, production-deployed.
- Web (
web/) — React Router v7 SSR frontend, deployed to Vercel - Admin (
admin/) — Rails 8 admin panel + JSON API, deployed to Railway - Android (
android/) — Jetpack Compose portfolio app, consumes the Rails API
Local values go in web/.env.
| Variable | Required | Description |
|---|---|---|
RESEND_API_KEY |
Yes | Resend API key, used server-side to send contact-form emails. |
RAILS_API_URL |
Prod | Base URL of the admin API the home loader fetches images from. Defaults to http://localhost:3000 in development. |
VITE_LOGROCKET_APP_ID |
No | LogRocket app slug (org/project). When set, enables client-side session replay; omit to disable. |
VERCEL_GIT_COMMIT_SHA |
Auto | Set by Vercel at build time; surfaced as the git hash in the footer. |
Local values go in admin/.env (see admin/.env.example).
| Variable | Required | Description |
|---|---|---|
CLOUDINARY_CLOUD_NAME |
Yes | Cloudinary account name for image hosting. |
CLOUDINARY_API_KEY |
Yes | Cloudinary API key. |
CLOUDINARY_API_SECRET |
Yes | Cloudinary API secret. |
ADMIN_USERNAME |
Yes | Username for the admin UI (defaults to admin). |
ADMIN_PASSWORD |
Yes | Password for the admin UI. In production the app fails closed (admin requests error) if this is unset or blank; the password fallback applies only in development/test. |
FRONTEND_ORIGIN |
Yes | URL of the React Router frontend, used for CORS. |
DATABASE_URL |
Auto | Production database connection; provided automatically by the host. |
RAILS_MASTER_KEY |
Yes | Decrypts Rails credentials. Local value in config/master.key; in production provided by the host. |
| Event | Properties | Description |
|---|---|---|
slide_viewed |
slide_position (int), slide_title (string) |
Fired when a slide becomes active, including on initial page load |
slider_next |
— | Fired when the Next button is clicked |
slider_prev |
— | Fired when the Previous button is clicked |
lightbox_opened |
slide_position (int), slide_title (string) |
Fired when a slide image is clicked to open the lightbox |
instagram_click |
— | Fired when the Instagram link in the header is clicked |
contact_modal_opened |
— | Fired when the contact modal is opened |
contact_modal_closed |
— | Fired when the contact modal is closed |
contact_submit_clicked |
— | Fired when the contact form is submitted with valid data |
contact_sent |
— | Fired when the contact form is successfully sent |
generate_lead |
— | GA4 recommended event; fired when the contact form is successfully sent |
contact_failed |
— | Fired when the contact form fails to send |
LogRocket session recording is initialized client-side in web/app/root.tsx. It is
enabled only when the VITE_LOGROCKET_APP_ID environment variable is set (e.g. in
Vercel), so it stays off in local development unless you configure it.
| Agent | Purpose | Model |
|---|---|---|
reviewer |
Reviews code for quality, correctness, and adherence to AGENTS.md conventions. Auto-detects platform (web/admin/android) and applies the right rules. Returns a grade (A–F). | claude-fable-5 |
vision |
Analyses screenshots for visual quality. Detects platform (web/android) and reports layout, typography, contrast, and accessibility issues. Returns a grade (A–F). | claude-sonnet-4-6 |
| Skill | Purpose | Agent-run |
|---|---|---|
review-web |
Captures 3 viewport screenshots and batch-reviews with vision agent. | Yes — also available as /review-web |
review-android |
Captures 3 device profile screenshots and batch-reviews with vision agent. | Yes — also available as /review-android |
api-contract |
Checks API response shape matches across admin/web/android. | Yes |
add-changelog |
Adds Keep a Changelog entry with a "Why" line. | Yes |
env-vars |
Lists required env vars and checks which are set. | Yes — also available as /env-vars |
decision |
Records architectural decisions with rationale. | Yes |
| Command | Args | Description |
|---|---|---|
/review-web |
<url> |
Capture 3 viewports and review with vision agent |
/review-android |
— | Capture 3 device profiles and review with vision agent |
/env-vars |
<platform> |
Check env vars for web, admin, or android |
/api-contract |
— | Verify API response shape matches across all clients |
/review-web https://www.alanmulhall.com/
Returns a per-viewport grade and an overall cross-viewport grade.
/review-android
Captures 3 device profiles and returns per-profile grades plus an overall cross-profile grade.
/env-vars admin
Lists required vars and reports which are set, missing, or empty.
task reviewer — review the android codebase
The reviewer agent reads all production files and returns issues with file:line references and a grade.

