Work Schedule Organizer is a React and Vite application with no backend dependencies. Getting it running locally takes one clone, one install, and one command. Follow the steps below to go from zero to a live schedule view in your browser.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.
Prerequisites
Make sure you have Node.js 18 or later installed. You can check your version by running:If you need to install or upgrade Node.js, download the LTS release from nodejs.org.
Install dependencies
Install the project’s npm packages:This installs React 19, Vite, and the ESLint dev dependencies listed in
package.json.Start the dev server
Start the Vite development server:Vite will compile the project and print the local URL where the app is running.
Open the app
Open http://localhost:5173 in your browser.You should see the Employee Work Schedule Organizer heading, the employee list sorted alphabetically, a workday filter bar, and an Add Employee button in the top section.
What you see on first load
When the app loads, it fetchespublic/employees.json and renders the full employee list sorted alphabetically. The initial dataset includes 12 employees — Alice through Susan — each with contact details and a Monday–Friday work schedule shown as checkboxes.
- The filter bar at the top lets you check one or more days to narrow the list.
- The Add Employee button opens an inline form where you can enter contact details and select workdays. The new employee is inserted into the sorted list immediately.
Available scripts
These scripts are defined inpackage.json and run with npm run <script>:
| Script | Command | Description |
|---|---|---|
dev | npm run dev | Start the Vite dev server with hot module reload. |
build | npm run build | Bundle the app for production into dist/. |
preview | npm run preview | Serve the production build locally for inspection. |
lint | npm run lint | Run ESLint across all source files. |
