Skip to content

Repository files navigation

🏢 HRNexus — HR Management Web Portal

A full-stack HR management portal for managing employees, salaries, attendance, and daily office tasks — all in one place.

Next.js NestJS Tailwind CSS SQL License


📖 Overview

HRNexus is a modern, full-stack HR management portal built for companies to streamline their internal operations. From tracking employee attendance to managing salaries and assigning daily tasks — everything is handled through a clean, centralized web interface accessible to both admins and employees.


✨ Features

👨‍💼 Employee Management

  • Add, update, and remove employee records
  • View individual employee profiles and details
  • Role-based access for admins and employees

💰 Salary Management

  • Define and manage salary structures per employee
  • Track payment history and records
  • Generate salary summaries

🕐 Attendance Tracking

  • Mark and monitor daily employee attendance
  • View attendance history and reports
  • Track present, absent, and leave status

✅ Task Management

  • Assign daily tasks to employees
  • Track task status (pending, in progress, completed)
  • Employees can view and update their own tasks

🏢 Office Operations

  • Centralized dashboard for day-to-day office management
  • Admin overview of all active employees and activities

🛠️ Tech Stack

Layer Technology
Frontend Next.js, Tailwind CSS
Backend NestJS
Database SQL (MySQL / PostgreSQL)
API REST API

🚀 Installation

Prerequisites

  • Node.js 18+
  • npm or yarn
  • SQL database (MySQL or PostgreSQL)

Frontend Setup

# 1. Navigate to the frontend directory
cd frontend

# 2. Install dependencies
npm install

# 3. Start the development server
npm run dev

Backend Setup

# 1. Navigate to the backend directory
cd backend

# 2. Install dependencies
npm install

# 3. Configure environment variables
cp .env.example .env
# Fill in your database credentials and JWT secret in .env

# 4. Run database migrations
npm run migration:run

# 5. Start the backend server
npm run start:dev

📁 Project Structure

HRNexus/
├── frontend/                   # Next.js frontend
│   ├── app/                    # App router pages
│   ├── components/             # Reusable UI components
│   ├── styles/                 # Tailwind global styles
│   └── utils/                  # Helper functions
│
├── backend/                    # NestJS backend
│   ├── src/
│   │   ├── employees/          # Employee module
│   │   ├── attendance/         # Attendance module
│   │   ├── salary/             # Salary module
│   │   ├── tasks/              # Task management module
│   │   ├── auth/               # Authentication & JWT
│   │   └── main.ts             # Entry point
│   └── .env.example            # Environment variable template
│
└── README.md

🔐 Environment Variables

Create a .env file in the /backend directory:

DATABASE_HOST=localhost
DATABASE_PORT=3306
DATABASE_USER=your_db_user
DATABASE_PASSWORD=your_db_password
DATABASE_NAME=hrnexus
JWT_SECRET=your_jwt_secret

👥 User Roles

Role Access
Admin Full access — manage employees, salary, attendance, tasks
Employee View own profile, attendance, salary, and assigned tasks

🤝 Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request.


📜 License

This project is licensed under the MIT License — see the LICENSE file for details.


👤 Author

Made with 🖤 by Farisxdev


Found this useful? Drop a ⭐ on GitHub — it helps a lot!

About

A full-stack HR management portal built with Next.js & NestJS — manage employees, salaries, attendance, and daily tasks from one centralized dashboard.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages