You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Complete employee offboarding platform -- exit workflows, clearance, interviews, full & final settlement, knowledge transfer, alumni network, and predictive attrition.
EMP Exit is the offboarding and exit management module of the EmpCloud HRMS ecosystem. It provides configurable exit workflows with multi-department sign-off, exit interviews with structured feedback, full & final settlement calculation, asset return tracking, knowledge transfer documentation, letter generation (experience, relieving, service certificate), background verification, alumni network, predictive attrition dashboard with flight risk scoring, notice period buyout calculator, exit stage email notifications, rehire workflow pipeline, and exit survey NPS tracking.
KT documentation with successor assignment. Individual KT checklist items with completion tracking. Handover verification.
Full & Final Settlement
Calculate pending salary, leave encashment, gratuity, deductions, notice recovery. Manual adjustments. Approval workflow. Mark as paid. Integrates with notice buyout.
Asset Return Tracking
Track assets to be returned by exiting employee. Update asset status, verify condition, record damage assessment.
Letter Generation
Org-specific Handlebars letter templates. Generate experience letter, relieving letter, service certificate as PDF. Email letters to employee. Download generated PDFs.
Background Verification
Store verification results and reference checks. Link to employment history.
Alumni Network
Optional alumni directory for ex-employees. Opt-in profiles. Rehire eligibility indicators.
Flight Risk / Attrition Prediction
Predictive flight risk scoring (0-100) for all employees. Risk factor analysis. Department-level attrition heatmap. Trend tracking over time. On-demand recalculation.
Notice Period Buyout
Calculate buyout amount based on remaining notice days and daily rate. Request/approve workflow. Integrates with F&F settlement.
Rehire Workflow
Pipeline: alumni -> screening -> approved -> hired. Reactivate user in EMP Cloud on hire. List rehire-eligible alumni.
Exit Stage Email Notifications
6 branded Handlebars email templates for each exit milestone: initiation, clearance, interview, FnF, letter, completion. Preview and customize templates. Email delivery logging.
Exit Survey NPS
Net Promoter Score survey for exiting employees. NPS gauge visualization. Monthly/quarterly trend tracking. Department-level breakdown.
Exit Analytics
Attrition rate, reason breakdown (pie chart), department-wise trends, tenure at exit distribution, rehire pool statistics.
API Documentation
Swagger UI at /api/docs with full OpenAPI 3.0 spec.
Tech Stack
Layer
Technology
Runtime
Node.js 20
Backend
Express 5, TypeScript
Frontend
React 19, Vite 6, TypeScript
Styling
Tailwind CSS, Radix UI
Database
MySQL 8 via Knex.js (emp_exit database)
Cache / Queue
Redis 7, BullMQ
Auth
OAuth2/OIDC via EMP Cloud (RS256 JWT verification)
PDF Generation
Puppeteer
Charts
Recharts
Email
Handlebars templates + Nodemailer
Monorepo
pnpm workspaces (3 packages)
Quick Start
Prerequisites
Node.js 20+
pnpm 9+
MySQL 8+
Redis 7+
EMP Cloud running (for authentication)
EMP Payroll (optional, for salary data in F&F calculation)
Install
git clone https://github.com/EmpCloud/emp-exit.git
cd emp-exit
pnpm install
Environment Setup
cp .env.example .env
# Edit .env with your database credentials, Redis URL, and EMP Cloud URL
Docker
docker-compose up -d
Development
# Run all packages concurrently
pnpm dev
# Run individually
pnpm --filter @emp-exit/server dev # Server on :4400
pnpm --filter @emp-exit/client dev # Client on :5178# Run migrations
pnpm --filter @emp-exit/server migrate
BullMQ background workers handle exit stage email notifications, letter PDF generation, attrition risk score calculation, and scheduled reminders. All 17 route modules and 15 service modules are covered by manual and integration testing.