Personal landing page built with Next.js App Router and Tailwind CSS, deployed on Vercel. It pulls GitHub profile and repository data via Octokit.
- Copy .env.example to .env and set
GITHUB_TOKEN(schema in src/env.js). pnpm install
git clone https://github.com/lewismorgan/lewis.gitpnpm dev- local dev with Turbopackpnpm preview- production build + start
pnpm check- lint + TypeScriptpnpm lint- lint onlypnpm format:check- formatting check
pnpm test,pnpm test:watch,pnpm test:coveragepnpm test:e2e,pnpm test:e2e:ui- Details in TESTING.md
GET /api/git/repos- repository summaries for the overview UI. See src/app/api/git/repos/route.ts.GET /api/git/readme/[repo]- README content for a repository. See src/app/api/git/readme/[repo]/route.ts.
Connect the repo in Vercel and set env vars from src/env.js (at minimum GITHUB_TOKEN). Vercel will run pnpm build and pnpm start.
MIT License