Skip to content

ashokkumar116/employee_task_management_system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

31 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ§‘β€πŸ’Ό Employee Task Management System

A full-stack web application that allows administrators to manage employees and assign tasks, while employees can log in, view tasks, and update their status. This project is built with a focus on clean UI, role-based access, and real-world functionality.

πŸ”§ Tech Stack

  • Frontend: React.js, PrimeReact, Tailwind CSS
  • Backend: Node.js, Express.js
  • Database: MySQL
  • Authentication: JWT, Cookie-based auth
  • File Uploads: Multer (for profile images)

✨ Features

Admin Panel

  • Add, edit, delete employees
  • Assign tasks to employees
  • View all tasks and their statuses
  • Manage employee roles and positions

Employee Panel

  • Log in securely
  • View assigned tasks
  • Update task status (In Progress, Completed)
  • View profile info and task history

πŸ—‚οΈ Folder Structure


πŸ“¦ employee-task-management
β”œβ”€β”€ client (React frontend)
β”‚   β”œβ”€β”€ src
β”‚   └── ...
β”œβ”€β”€ server (Node + Express backend)
β”‚   β”œβ”€β”€ controllers
β”‚   β”œβ”€β”€ routes
β”‚   β”œβ”€β”€ middlewares
β”‚   └── ...
└── README.md


πŸ” Authentication & Authorization

  • JWT tokens stored in HTTP-only cookies
  • Middleware to protect routes
  • Role-based access (Admin, Employee)

πŸš€ Getting Started

1. Clone the Repository

git clone https://github.com/your-username/employee-task-management.git](https://github.com/ashokkumar116/employee_task_management_system.git
cd employee-task-management

2. Setup Backend

cd server
npm install
# Configure .env file (DB credentials, JWT secret)
npm start

3. Setup Frontend

cd client
npm install
npm run dev

βš™οΈ Environment Variables

Create a .env file in the server/ directory with:

PORT=5000
DB_HOST=localhost
DB_USER=root
DB_PASSWORD=your_password
DB_NAME=employee_db
JWT_SECRET=your_jwt_secret
APP_PASS = your_gmail_pass

πŸ–ΌοΈ UI Preview

πŸ” Admin and Employee Dashboard

πŸ“‹ Employee Management and Employee View

βœ… Task Management and Task View

βœ… Task View and Update for Employees

πŸ“’ Announcements View

βš™οΈ Settings Page

πŸ“¦ Deployment

  • Frontend: Netlify
  • Backend: Render
  • Database: Clever Cloud

🀝 Contributing

Feel free to fork the project and open pull requests!


🌐 Live Demo

πŸ”— View Live Demo Here

βœ… Admin Login:
Email: testadmin@ashok.com Password: 12345

βœ… Employee Login:
Email: testemployee@ashok.com
Password: 54321

(Demo accounts are pre-populated for testing the app features.)


πŸ‘¨β€πŸ’» Developed by

Ashok Kumar – @ashokkumar116

About

A full-stack web application that allows administrators to manage employees and assign tasks, while employees can log in, view tasks, and update their status. This project is built with a focus on clean UI, role-based access, and real-world functionality.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors