Skip to content
hellapixelsPublic

About

Lightweight payroll app that allows you to input revenue, split margins and pay employees based on hours works from a pay pool.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

Burger Shot Payroll — Vercel + Blob

Two pages: Payroll (calculate and save) and Payroll History (click a date to expand the details). Payrolls are saved as private JSON files in Vercel Blob, behind a shared passcode.

Deploy (Vercel Hobby)

  1. Put this folder in a GitHub repo (or run npx vercel inside it).
  2. In Vercel, import the project. Framework preset: Other. No build command needed.
  3. Project > Storage > Create Storage > Blob, set access to Private, and connect it to the project. (Access mode can't be changed later.)
  4. Project > Settings > Environment Variables: add PAYROLL_PASSCODE with a passcode of your choice (all environments).
  5. Redeploy, then open your site. You'll be asked for the passcode the first time you save or view history.

Notes

  • Anyone with the site URL can see the Payroll calculator, but saving, viewing and deleting history all require the passcode.
  • Share the passcode only with people who should see payroll data. To change it, update the env var and redeploy.
  • Each payroll is one file at payrolls/<id>.json. The server recalculates totals from the inputs before saving.
  • Local testing: npm i -g vercel, vercel link, vercel env pull, then vercel dev.

About

Lightweight payroll app that allows you to input revenue, split margins and pay employees based on hours works from a pay pool.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages