Welcome to the Employee Management System repository! This project is designed to help organizations efficiently manage employee information. Whether you're a small business or a large enterprise, this system provides a user-friendly interface to handle employee data, roles, departments, and more.
Note: This project is listed under the master branch.
- Add, update, delete, and view employee details (name, email, phone number, job title).
- Organize employees into departments and manage department-specific information.
- Assign roles to employees and define their responsibilities.
- Easily search and filter employees by name, department, or role using AJAX for a seamless user experience.
- Built with Bootstrap for a clean, modern, and mobile-friendly interface.
- Uses SQL Server for reliable and secure data storage.
- Secure login and registration system to protect sensitive data.
- Create payslips, and employees can view them.
- Export employee data to CSV or PDF for reporting purposes.
- Framework: Microsoft .NET Framework
- Architecture: MVC (Model-View-Controller)
- Programming Language: C#
- Database: SQL Server
- Frontend: HTML, CSS, JavaScript, Bootstrap
- AJAX: For asynchronous data loading and seamless user interactions
- Authentication: Forms Authentication (or custom authentication logic)
- Icons: Font Awesome, Bootstrap Icons
Follow these steps to set up the Employee Management System locally:
git clone https://github.com/Philani56/Management-System- Launch Visual Studio.
- Open the project by navigating to the cloned repository folder.
- Open SQL Server Management Studio (SSMS).
- Create a new database (e.g.,
EmployeeManagementDB). - Update the connection string in the
web.configfile:
<connectionStrings>
<add name="EmployeeDBContext" connectionString="Server=your-server-name;Database=EmployeeManagementDB;Integrated Security=True;" providerName="System.Data.SqlClient" />
</connectionStrings>If using Entity Framework Code First, run the following command in the Package Manager Console:
Update-Database- Build the solution in Visual Studio (
Ctrl + Shift + B). - Run the project (
F5or click the "Start" button).
- Open your browser and navigate to
http://localhost:port(check the port number in Visual Studio).
- Use the login page to access the system.
- If you don't have an account, register first.
- Navigate to the Employees section.
- Click "Add Employee" to enter new employee details.
- Go to the Departments section to add, update, or delete departments.
- In the Roles section, assign roles to employees and define their responsibilities.
- Use the search bar to filter employees by name, department, or role.
- Results load dynamically using AJAX.
- Export employee data to CSV or PDF for reporting purposes.
- Create payslips for employees to view.
This project follows the MVC (Model-View-Controller) architecture:
- Models/ β Contains database entities (e.g.,
Employee.cs,Department.cs). - Views/ β Contains Razor views (e.g.,
Index.cshtml,Create.cshtml). - Controllers/ β Contains business logic (e.g.,
EmployeeController.cs,DepartmentController.cs). - Scripts/ β Contains JavaScript and AJAX scripts for dynamic functionality.
- App_Data/ β Contains the SQL Server database file (if using LocalDB).
We welcome contributions from the community! Follow these steps to contribute:
- Fork the repository.
- Create a new branch for your feature or bugfix.
- Commit your changes.
- Push your branch and open a pull request.
This project is licensed under the MIT License. See the LICENSE file for more details.
If you have any questions or suggestions, feel free to reach out:
π© Email: khumalophilani580@gmail.comn
π GitHub Issues: Open an Issue
Thank you for using the Employee Management System! We hope it simplifies your employee management tasks. π