Overview
Discover what makes Frappe HR powerful
Frappe HR is a self‑hosted Human Resources Management System built as an independent product from the ERPNext ecosystem. It leverages the Frappe Framework, a full‑stack Python/JavaScript platform, and the Vue‑based Frappe UI library to deliver a modern web experience. From an architectural standpoint, the application is organized around modular DocTypes that map to database tables, with a REST‑style API automatically exposed for every model. This enables developers to consume and extend the core functionality through HTTP endpoints, custom scripts, or server‑side Python code.
Employee Lifecycle & Onboarding
Leave & Attendance
Expense & Advance Management
Performance Management
Overview
Frappe HR is a self‑hosted Human Resources Management System built as an independent product from the ERPNext ecosystem. It leverages the Frappe Framework, a full‑stack Python/JavaScript platform, and the Vue‑based Frappe UI library to deliver a modern web experience. From an architectural standpoint, the application is organized around modular DocTypes that map to database tables, with a REST‑style API automatically exposed for every model. This enables developers to consume and extend the core functionality through HTTP endpoints, custom scripts, or server‑side Python code.
Key Features
- Employee Lifecycle & Onboarding – Create, update, and archive employee records; manage promotions, transfers, and exit interviews through a single source of truth.
- Leave & Attendance – Define complex leave policies, import regional holidays, and capture geolocation‑aware check‑ins. The system exposes hooks for custom approval flows and analytics dashboards.
- Expense & Advance Management – Multi‑level workflow for claims, integration with ERPNext accounting, and automated reconciliation.
- Performance Management – Goal setting, KRA alignment, self‑evaluation forms, and appraisal cycle orchestration.
- Payroll & Taxation – Salary structures, tax slabs, off‑cycle payments, and printable salary slips. All calculations are performed server‑side with deterministic formulas that can be overridden via custom scripts.
Technical Stack
| Layer | Technology |
|---|---|
| Backend | Python (3.10+), Frappe Framework, SQLAlchemy‑like ORM |
| Frontend | Vue 3 (Composition API), Frappe UI component library, TypeScript support |
| Database | PostgreSQL 13+ (default), MySQL supported via Frappe adapters |
| API | Auto‑generated REST endpoints (/api/method/<doctype>) and GraphQL via optional plugin |
| Messaging | Redis for background jobs (Celery), Socket.io for real‑time updates |
| Containerization | Official Docker images, Helm charts for Kubernetes deployments |
Core Capabilities
- Extensible DocTypes – Add custom fields, forms, and print formats without code changes.
- Server‑Side Scripting –
hooks.pyallows registration of event handlers (on_update,validate, etc.). - Client‑Side Scripting – Vue components can call REST endpoints or use Frappe UI’s
frappe.call. - Webhooks & Events – Emit events on CRUD operations; subscribe via HTTP or message queues.
- REST & GraphQL – Full CRUD, query filtering, and pagination out of the box.
Deployment & Infrastructure
- Self‑Hosting – Deploy on any Linux server with Docker or directly via
bench(the same tool used for ERPNext). - Scalability – Horizontal scaling achieved by adding more bench workers and load‑balancing frontends; PostgreSQL replication for read scalability.
- Containerization – Docker Compose setups are available; images are lightweight (~200 MB).
- CI/CD – GitHub Actions provide automated linting, unit tests, and coverage checks.
Integration & Extensibility
- Plugin System – Install community or custom apps via
bench get-appand enable insites/common_site_config.json. - API Gateways – Expose Frappe HR endpoints to external services; use OAuth or API keys for authentication.
- Webhooks – Register outgoing webhooks to trigger external workflows on events like
leave_request_approved. - Custom Reports – Build server‑side queries or use the native report builder; export to CSV/Excel.
Developer Experience
- Documentation – Comprehensive docs at
docs.frappe.io/hrcover architecture, API usage, and customization guides. - Community – Active GitHub repo (6.8 k stars), Slack channel, and partner ecosystem.
- Configuration –
site_config.jsonallows fine‑grained tuning (e.g., mail server, feature flags). - Testing – Built‑in unit test framework (
pytest), integration tests, and code coverage dashboards.
Use Cases
- Mid‑size Enterprises – Replace legacy HRIS with a single source of truth that integrates payroll, attendance, and performance.
- Startups – Rapid onboarding and expense workflows without licensing overhead.
- Consultancies – Deploy per‑client instances in a containerized environment, customize each with minimal code.
- DevOps Teams – Use the API to automate HR data ingestion from CI pipelines or external directories.
Advantages
- Open Source & AGPL – Full source code access, no vendor lock‑in, and community‑driven innovation.
- Performance – Server‑side rendering with caching layers; optimized queries for large employee datasets.
- Flexibility – Declarative DocTypes and client‑side scripting allow rapid feature iteration.
- Cost‑Effectiveness – No per‑user licensing; infrastructure cost scales linearly with user count.
- Unified Stack – Python backend and Vue frontend share a common data model, reducing context switching for developers.
Frappe HR offers developers a robust, modular platform that can
Open SourceReady to get started?
Join the community and start self-hosting Frappe HR today
Related Apps in other
Immich
Self‑hosted photo and video manager
Syncthing
Peer‑to‑peer file sync, no central server
Strapi
Open-source headless CMS for modern developers
reveal.js
Create stunning web‑based presentations with HTML, CSS and JavaScript
Stirling-PDF
Local web PDF editor with split, merge, convert and more
MinIO
Fast, S3-compatible object storage for AI and analytics
Weekly Views
Repository Health
Information
Explore More Apps
Stash
Self‑hosted organizer for adult media
Corteza
Open-source low‑code platform for building CRM and business workflows
EGroupware
Open source online office for secure, sovereign collaboration
ToolJet
Build internal apps and AI agents in minutes
FreeScout
Open‑source help desk and shared inbox for teams
Kyoo
Self‑hosted video server with zero‑maintenance