The Work Schedule Organizer is a self-contained React + Vite app with no external data dependencies. All customization happens by editing a small set of local files — the employee roster, a single CSS file, and the Vite config. This page walks through each area in turn.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/y-broad/workschedule/llms.txt
Use this file to discover all available pages before exploring further.
Editing initial employees
The employee roster shown on first load comes frompublic/employees.json. To add your team’s data, replace or extend the records in that file before running the app.
Open public/employees.json
The file is a JSON array. Each element represents one employee. Open it in any text editor.
Add a new employee object
Copy the template below and paste it inside the array. Fill in the values for your new employee and choose an
id that is not already used.Validate the file
Confirm the file is still valid JSON. A trailing comma after the last array element or a missing closing bracket are the most common mistakes.
Changing styles
All visual styling lives in a single file:src/App.css. There are no CSS modules, no Tailwind classes, and no inline styles in the JSX — every rule you need to change is in that one file.
The key CSS classes are:
| Class | Element |
|---|---|
.app | Outer container card (max-width, padding, background) |
.employees | CSS grid that wraps all employee cards |
.employee | Individual employee card (border, shadow, hover lift) |
.filter | Workday filter bar (flexbox row of checkboxes) |
.addEmployee | Add Employee form panel |
App.css to change the button color, shape, or typography across the entire app.
Building for production
Run the build command to compile and bundle the app for deployment. Vite outputs the production bundle into thedist/ directory.
dist/ directory contains everything needed to deploy — copy it to any static hosting provider (Netlify, Vercel, GitHub Pages, an S3 bucket, etc.).
Available scripts
All scripts are defined inpackage.json and run via your package manager.
| Script | Command | Description |
|---|---|---|
| Dev server | npm run dev | Starts Vite’s development server with HMR at localhost:5173. |
| Build | npm run build | Compiles and bundles the app into dist/ for production. |
| Preview | npm run preview | Serves the dist/ build locally to verify output before deploying. |
| Lint | npm run lint | Runs ESLint across all source files using the project’s config. |
