Files
Portfolio_V1/.env.example
T
bobbertandClaude Sonnet 5 7d1d2feccb Move GitHub token server-side, add privacy note, fix LinkedIn icon
Adds a small server/ proxy so the GitHub token never reaches the
browser (server holds it, client calls /api/contributions), with
rate limiting and response caching. Adds a collapsible UK GDPR
privacy note to the Contact footer. Strips the background badge
from the LinkedIn icon so it matches GitHub's bare-silhouette style.
Removes em dashes and tightens some project copy. Increases the
light-mode contrast between the 0 and 1 commit levels in the
contribution graph.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-27 17:43:50 +01:00

19 lines
808 B
Bash

# Copy this file to secrets/.env and fill in your own values.
# secrets/ is gitignored, so real values never leave your machine.
VITE_NAME=Your Name
VITE_LOCATION=City, Country
VITE_EMAIL=you@example.com
VITE_GITHUB_USER=your-github-username
VITE_LINKEDIN=https://www.linkedin.com/in/your-profile
VITE_CV_URL=/CV/Bob-CV.pdf
# Server-side only (server/index.js). Deliberately not prefixed with VITE_,
# so Vite never inlines these into the browser bundle.
# Powers the contribution graph. Use a fine-grained PAT scoped to your own
# account only, read-only, no repository access selected. The server is the
# only thing that ever sees it now, but keep it minimal-scope regardless.
GITHUB_TOKEN=
# Exact origin(s) allowed to call /api/* (your deployed domain).
ALLOWED_ORIGIN=https://mudabbir.co.uk
PORT=3001