Skip to content

WebJamApps/HenricksonForSalem

Repository files navigation

Henrickson for Salem

Campaign website for Mark Henrickson, candidate for Salem City Council.

Live site: https://henricksonforsalem.pages.dev

Tech stack

  • Vite + React + TypeScript — a purely static site: no backend, no forms, no network calls at runtime.
  • Tested with Vitest + Testing Library; linted with ESLint.
  • Hosted on Cloudflare Pages.

Development

Requires Node 24.

npm install
npm run dev        # local dev server
npm test           # lint + typecheck + unit tests (coverage)
npm run build      # production build to dist/

Deploying

Deploys are automatic: CircleCI's deploy job runs on main after the build (test) job passes, and pushes dist/ to Cloudflare Pages via Wrangler. Red tests block the deploy. Auth comes from the CLOUDFLARE_API_TOKEN + CLOUDFLARE_ACCOUNT_ID CircleCI project env vars.

For a manual/fallback deploy:

npm run build
npx wrangler pages deploy dist --project-name henricksonforsalem --branch main

Contributing

  • Default branch is dev; PRs are opened as drafts against dev and reviewed there.
  • devmain release merges are done by the repo owner.

Docs

License

MIT

About

Campaign website for Mark Henrickson — Salem City Council

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors