This is a Next.js project bootstrapped with create-next-app.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.
This project fetches data from a GitHub Gist at runtime and revalidates daily. A GitHub Actions workflow updates the Gist nightly from Google Sheets CSV exports.
- Create a fine‑grained PAT with
gistscope; add to repo secrets asGIST_TOKEN. - Create a Gist containing
companies.json,jobs.json(and optionallymajors.json,jobTypes.json). Add its ID to repo secrets asGIST_ID. - Add repository variables with public CSV export links:
COMPANIES_CSV_URL,JOBS_CSV_URL,MAJORS_CSV_URL,JOBTYPES_CSV_URL.
- Set env in Vercel:
NEXT_PUBLIC_GIST_RAW_BASE=https://gist.githubusercontent.com/<user>/<gist-id>/raw. - The site fetches from the Gist raw URLs with ISR (revalidate every 86400s).
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.