A comprehensive Human Resource Management System with Django Ninja backend and Next.js frontend.
-
HR Management
- HR Registration and Authentication
- HR Profile Management
-
Employee Management
- Complete Employee CRUD Operations
- Employee Profile Management
- Employee Leave Tracking
-
Project Manager Management
- Project Manager CRUD Operations
- Project Manager Profile Management
-
Leave & Holiday Management
- Holiday Calendar Management
- Leave Request Management
- Leave Status Tracking
[Coming Soon]
[Coming Soon]
[Coming Soon]
- Backend: Django 5.1.3 + Django Ninja 1.3.0
- Frontend: Next.js 14.2
- Database: PostgreSQL
- UI: TailwindCSS 3.4
- Authentication: Django Session + CSRF
- Runtime: Bun
- Python 3.11+
- Bun 1.0+
- PostgreSQL 14+
- Clone the repository
git clone https://github.com/adhirajcs/HR-System.git
cd hr-system/backend
- Create and activate virtual environment
python -m venv venv
source venv/bin/activate # Linux/Mac
# or
venv\Scripts\activate # Windows
- Install backend dependencies
pip install -r requirements.txt
- Configure environment variables
cp .env.example .env
# Required variables:
# DATABASE_URL=postgresql://user:password@localhost:5432/dbname
# SECRET_KEY=your-secret-key
# DEBUG=True
- Run migrations
python manage.py makemigrations
python manage.py migrate
- Start the Django development server
python manage.py runserver
- Navigate to frontend directory
cd frontend
- Install frontend dependencies
bun install
- Configure frontend environment
cp .env.example .env.local
# Required variables:
# NEXT_PUBLIC_API_URL=http://localhost:8000/api
- Run development server
bun dev
The application will be available at:
- Backend API: http://localhost:8000
- Frontend: http://localhost:3000
This project is licensed under the Apache License, Version 2.0 - see the LICENSE file for details.