Skip to content

Sujal-Raj/EMS

Repository files navigation

Employee Management System

🛠️ Project Overview

The Employee Management System is a web application that allows administrators to assign tasks to employees and enables employees to view and manage their tasks. This system is designed to simplify task management, improve communication, and provide a seamless experience for both admins and employees through a role-based dashboard system.

✨ Features

  • Role-Based Dashboards: Depending on login credentials, users are directed to the Admin or Employee dashboard.
  • Task Assignment: Admins can create tasks by filling in details like task title, due date, priority, category, and description.
  • Task Management: Employees can log in, view assigned tasks, accept them, and track their status (New, Active, Completed, or Failed).
  • Real-Time Updates: Task statuses are dynamically updated using React’s Context API.
  • Persistent Data: Task and user information is stored in localStorage for easy retrieval.
  • Clean and Responsive UI: Built using Tailwind CSS for a mobile-friendly and attractive interface.

🛠️ Technologies Used

  • React.js: JavaScript library for building user interfaces
  • Tailwind CSS: Utility-first CSS framework for styling
  • Context API: For managing global state
  • localStorage: For persistent storage of task and user data

📂 Project Structure

├── public │ ├── index.html ├── src │ ├── components │ │ ├── AdminForm.js // Admin task creation form │ │ ├── AdminTaskList.js // Admin view for all tasks assigned │ │ ├── EmployeeDashboard.js // Employee task dashboard │ ├── Context │ │ ├── AuthProvider.js // Context API for global state management │ ├── Utils │ │ ├── LocalStorage.js // Utility functions for localStorage │ ├── App.js // Main application component │ └── index.js // Entry point of the application

🚀 Getting Started

To get a local copy up and running, follow these simple steps:

Prerequisites

  • Node.js (v14+)
  • npm or yarn

Installation

  1. Clone the repository:
    git clone https://github.com/Sujal-Raj/EMS.git
    
  2. Navigate to the project directory: cd EMS
  3. Install dependencies: npm install
  4. Run the application: npm start

The application will now be running on http://localhost:3000.

💻 Screenshots Admin can assign tasks to employees.

Employees can view, accept, and track tasks.

🤝 Contributing Contributions, issues, and feature requests are welcome! Feel free to check the issues page.

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

This README provides a complete guide to the project, including features, installation instructions, and a breakdown of the file structure. You can customize it further with additional project links or details as needed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published