myStaff
- Status
- Live
- Role
- Sole developer
- Interface
- German and English
An application for shift workers and their admin office: your own roster, shift swaps with colleagues and requested days off in one place, in German and English.
The admin office sets up the shift codes, which read by position: AG17 stands for location A, a start between 6 and 7 a.m. and the number 17, and each code carries its own length. With these codes the office plans every employee’s month, sees the whole team in one matrix and publishes the roster. Every save checks the rules: valid codes only, and 13 hours 30 minutes of rest between the end of one shift and the start of the next, across month boundaries too.
From the published roster, employees offer a shift, days off or a whole block for a swap, optionally with the shift code or time window they want in return. Anyone looking at an offer sees at once whether it fits their own roster, and accepts it; the rosters change only once the admin office approves the swap. By the 15th of each month, everyone can request up to four days off for the month after next, and the office decides on each day. Leave requests, a PDF of the roster and the Cheri assistant, which answers questions in chat and by voice, are still to come.
What it does
- Sign-up only with the admin office’s sign-up code, and passwordless sign-in with a code or link sent by email
- Your own roster as a list or calendar, with public holidays, breaks and the month’s hours against your contract
- Shift offers: a shift, days off or a block for a swap, with a wanted shift code, time window or minimum length
- Search and filter open offers, see which ones fit your roster, and accept them; “My listings” shows where each swap stands
- Requested days off: up to four per month, decided day by day by the admin office
- Admin office: users, shift codes, rosters with a team matrix, approval of swaps and days off, “view as” and a log of every action
- German and English, ten color palettes for day and night, each with checked WCAG contrast
How it is built
- Next.js 16 (App Router, Cache Components) with React 19 and TypeScript
- Tailwind CSS 4; every color comes from the palette’s tokens, and a script checks the contrast of every palette
- Supabase (Postgres + Auth) with Row Level Security; the database checks rules such as the rest time a second time
- The sign-up code is stored only as a hash, and the database refuses accounts without it
- Deployed on Vercel, with the servers in Frankfurt
Technology: Next.js, React, TypeScript, Tailwind CSS, Supabase, Vercel
Open myStaff (opens in new tab)