TeamFore replaces the chaos of WhatsApp groups and Google Sheets for team leave coordination — giving engineering managers a single surface for leave requests, approvals, daily standup availability, capacity planning, and Slack-native visibility.
The frontend is a Next.js 16 App Router application with React 19, TanStack Query handling smart cache invalidation, and role-gated dashboards for employees, managers, and admins. The backend is an Express 5 API with Prisma ORM, workspace-scoped query isolation, and a Slack integration layer that pushes leave events, daily standup digests, and slash command responses directly into team channels.
Google Calendar sync and an installable mobile PWA are shipping this week to complete the core integration surface.
Technical Highlights
- Three-role RBAC — employees submit leave with half-day session granularity, managers approve with live capacity warnings, admins govern policy, teams, users, and a full audit trail.
- Slack integration — OAuth workspace connection, leave notifications via DM and channel, configurable daily standup digest via cron, and four slash commands (/whos-out, /my-leaves, /team-status, /apply-leave) with Block Kit interactive approval buttons gated behind the paid plan.
- Capacity warning engine — slot-based overlap detection at half-day precision, peak-day capacity projection at the point of approval, configurable warning threshold via environment variable.
- Standup availability board — daily status (available, remote, focus time, busy, half-day, on leave) and workload level (light, normal, heavy) per team member, surfaced in both the app and Slack digest.
- 29 REST endpoints across 11 route files, 13 Prisma models, 41 frontend components, complete audit logging with 15 action types.
- CSV export for leave history with workspace-scoped filtering by status, date range, user, and team.
- React Query stale-time tuning and stable query-key strategy for near-zero perceived latency; parallel Prisma validations on leave application to reduce backend round-trips.
- Google Calendar sync (shipping this week) — approved leaves push as OOO events to employee calendars with a shared team subscribe feed.
- Mobile PWA (shipping this week) — installable to homescreen via Web App Manifest, offline-capable core flows, Web Push notifications for approvals.