Winner of the c0mpiled hackathon.
A full-stack worker safety and focus-planning app with:
- live worker map and status tracking
- AI-assisted reassignment for at-risk workers
- prompt-based task generation
- dedicated worker profile dashboard page
- Backend: Node.js + Express (
server.js) - Frontend planner: modular ES modules (
public/src/planner/*) - Frontend profile page: React JSX components without a bundler (
public/src/employee/*)
.
├── server.js
├── package.json
├── public
│ ├── index.html
│ ├── add_new_employee.html
│ ├── lifting-cargo-platform-pov.mp4
│ └── src
│ ├── planner
│ │ ├── api
│ │ │ └── client.mjs
│ │ ├── app
│ │ │ └── main.mjs
│ │ ├── components
│ │ │ └── AppShell.jsx
│ │ ├── config
│ │ │ └── constants.mjs
│ │ ├── data
│ │ │ └── workers.mjs
│ │ ├── domain
│ │ │ ├── tasks.mjs
│ │ │ ├── time.mjs
│ │ │ └── workers.mjs
│ │ ├── map
│ │ │ ├── shadeController.mjs
│ │ │ └── workerOverlay.mjs
│ │ ├── ui
│ │ │ ├── controller.mjs
│ │ │ └── domRefs.mjs
│ │ └── utils
│ │ └── format.mjs
│ └── employee
│ ├── components
│ │ ├── BrainSignalsChart.jsx
│ │ ├── LiveVideoCard.jsx
│ │ ├── PerformanceAnalysisCard.jsx
│ │ ├── TopNav.jsx
│ │ └── VideoTrackingCard.jsx
│ ├── data
│ │ └── employeeData.js
│ ├── pages
│ │ └── AddEmployeePage.jsx
└── .env.example
Create .env (or copy from .env.example):
SHADEMAP_API_KEY=YOUR_SHADEMAP_API_KEY_HERE
GROQ_API_KEY=YOUR_GROQ_API_KEY_HERE
GROQ_MODEL=llama-3.3-70b-versatile
PORT=3000Notes:
GROQ_API_KEYenables AI reassignment and prompt-based task generation.SHADEMAP_API_KEYenables map shadow simulation.
npm install
npm run devOpen:
- Planner:
http://localhost:3000/ - Worker profile page:
http://localhost:3000/add_new_employee.html
- Clear feature boundaries (
plannervsemployee) - Smaller focused modules (
domain,map,ui,components) - React JSX split into reusable
pagesandcomponents - Easier onboarding and faster feature iteration
