Skip to content

Repository files navigation

HexCode Portfolio

Next.js portfolio and public status dashboard for HexCode infrastructure.

Local development

npm install
npm run seed:uptime
npm run dev

Open http://localhost:3000.

Uptime worker

The VPS owns the persistent uptime database. It starts with a synthetic 90-day baseline and replaces each day's synthetic checks when the first real check is recorded.

Deploy it with:

docker compose -f compose.uptime.yml up -d --build

Proxy /uptime-api/* on search.hexcode.au to 127.0.0.1:3100 using the Caddy snippet in deploy/uptime.Caddyfile, then set this environment variable in Vercel:

UPTIME_API_URL=https://search.hexcode.au/uptime-api

Agency contact and analytics

The /agencies contact form sends through the Resend REST API. Configure these variables in the deployment environment:

RESEND_API_KEY=re_...
AGENCY_CONTACT_TO=pawan@hexcode.au
AGENCY_CONTACT_FROM=HexCode <agency@your-verified-domain.example>

Optional consent-gated Google Analytics is enabled when this public variable is present:

NEXT_PUBLIC_GA_MEASUREMENT_ID=G-XXXXXXXXXX

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages