No description
Find a file
2025-11-20 16:46:58 +01:00
.idea First commit 2025-11-04 15:18:19 +01:00
app Remove Docker-related configuration files and integrate dark mode functionality. 2025-11-20 11:45:41 +01:00
lib - Rename application from "Worker Presence Tracker" to "Worker Presence Manager" in UI texts and metadata. 2025-11-19 13:34:08 +01:00
.dockerignore First commit 2025-11-04 15:18:19 +01:00
.gitignore First commit 2025-11-04 15:18:19 +01:00
.yarnrc.yml Rename application to "planning-fight" and update Dockerfile for improved build and runtime setup. 2025-11-20 16:46:58 +01:00
db.json - Rename application from "Worker Presence Tracker" to "Worker Presence Manager" in UI texts and metadata. 2025-11-19 13:34:08 +01:00
deploy.sh First commit 2025-11-04 15:18:19 +01:00
Dockerfile Rename application to "planning-fight" and update Dockerfile for improved build and runtime setup. 2025-11-20 16:46:58 +01:00
Dockerfile.jsonserver Add Dockerfiles for json-server and application runtime environments 2025-11-20 12:08:24 +01:00
next.config.ts First commit 2025-11-04 15:18:19 +01:00
package.json Rename application to "planning-fight" and update Dockerfile for improved build and runtime setup. 2025-11-20 16:09:44 +01:00
postcss.config.mjs First commit 2025-11-04 15:18:19 +01:00
README.md Remove Docker-related configuration files and integrate dark mode functionality. 2025-11-20 11:45:41 +01:00
tailwind.config.ts Remove Docker-related configuration files and integrate dark mode functionality. 2025-11-20 11:45:41 +01:00
tsconfig.json First commit 2025-11-04 15:18:19 +01:00
yarn.lock Rename application to "planning-fight" and update Dockerfile for improved build and runtime setup. 2025-11-20 16:46:58 +01:00

Worker Presence Manager

A Next.js application for tracking worker presence with a point system.

Point System

  • Each worker has 13 points for a 2-week sprint (10 working days)
  • Each presence day = 1.3 points
  • Points are calculated based on the number of presential days worked

Getting Started

Development Mode

  1. Install dependencies:
npm install
  1. Start the JSON server (in one terminal):
npm run json-server
  1. Run the development server (in another terminal):
npm run dev
  1. Open http://localhost:3000 in your browser

Features

  • Add workers with their presence days
  • Edit worker presence days inline
  • Automatic point calculation
  • View points earned, points used, and remaining points
  • Summary statistics (total workers, average presence, etc.)
  • Reset all presences button (for new sprint)
  • Persistent storage with json-server
  • Responsive design with Tailwind CSS