Skip to content

gabergabora/mern-employee-salary-management

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MERN EMPLOYEE SALARY MANAGEMENT

Fullstack open source employee salary management application made with MySql, Express, React & Nodejs (MERN)

Configuration and Setup

In order to run this project locally, simply fork and clone the repository or download as zip and unzip on your machine.

  • Open the project in your prefered code editor.
  • Go to terminal -> New terminal (If you are using VS code)
  • Split your terminal into two (run the Frontend on one terminal and the server on the other terminal)

In the first terminal

$ cd Fronted
$ npm install (to install Frontend-side dependencies)
$ npm run dev(to start the Frontend)

In the second terminal

  • Create your MySQL database, which you will use as your database
  • Supply the following credentials
# --- Terminal ---

$ cd Backend
$ npm install (to install Backend-side dependencies)
$ npm start (to start the Backend)

Key Features

  • Login Admin
  • Add employee
  • Edit employee
  • Remove employee
  • Add position
  • Edit position
  • Remove position
  • Display data, input attendance, edit attendance and delete employee absences
  • Employee Salary Deduction Setting
  • Display data, input salary data, edit salary data and delete employee salary data
  • Print payroll reports, absences, and payslips
  • Change admin and employee passwords
  • Login Employees/Staff
  • Print employees/staff salary reports from personal accounts
  • 404 Page and many more
  • Responsive Design

Technologies used

This project was created using the following technologies.

Frontend

  • React js - JavaScript library that is used for building user interfaces specifically for single-page applications
  • React Hooks - For managing and centralizing application state
  • react-router-dom - To handle routing
  • axios - For making Api calls
  • Tailwind CSS - For User Interface
  • React icons - Small library that helps you add icons to your react apps
  • Redux - Managing complex application state
  • Localforage - Saves data in the web browser asynchronously
  • React Vite - Improved website speed
  • Redux Toolkit - To facilitate the development of web applications using Redux
  • Apexcharts - An open source library used to create interactive graphics on websites or web applications
  • match-sorter - An open source library used to create interactive graphics on websites or web applications

Backend

  • Node js -A runtime environment to help build fast server applications using JS
  • Express js -The server for handling and routing HTTP requests
  • mysql - For authentication
  • cors - Provides a Connect/Express middleware
  • Bcryptjs - For data encryption
  • Dotenv - Zero Dependency module that loads environment variables
  • Nodemon - To monitor changes to the program code that is being developed
  • jsonwebtoken - For authentication
  • cookie-parser - A middleware for web frameworks
  • Sequelize - An Object-Relational Mapping (ORM) for Node.js that makes it easy to access relational databases such as MySQL, PostgreSQL, and SQLite using the JavaScript programming language.

Database

  • MySQL - It provides a free cloud service to store MongoDB collections.

Screenshots

img-1


img-2


img-3


img-4


img-5


img-6


img-7


img-8


img-9


img-10


img-11


img-12


img-13


img-14


img-15


img-16


img-17


img-18

Author

License

MIT License

Copyright (c) 2022 Gilbert Hutapea

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

MERN Employee Payroll Management (My SQL, Express, React & Nodejs)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.1%
  • CSS 1.8%
  • HTML 0.1%