Skip to content
This repository has been archived by the owner on Apr 2, 2021. It is now read-only.

iLtc/HRMS

Repository files navigation

HRMS

A Human Resources Management System based on P2P network.

This system includes three different types of nodes: Central Node, Service Node, and Client Node.

Central Node is required for the P2P network to keep a list of active nodes.

Service Node will provide different services, such as user authentication, clock in and out, etc., to the P2P network. There may be one or more Service Nodes in the system that provide the same or different services.

Client Node is required for the user to interact with other Service Nodes and will provide a web interface using Flask, Bootstrap, and jQuery.

Installation

Click here to download the project.

After unzipping the project and going to the project folder, use the following command to install the required dependencies.

pip3 install -r requirements.txt

How to Use

Central Node

The Central Node should be the first one to start the last one to shut down. Otherwise, you may encounter unexpected errors.

To start the Central Node, use the following command.

python3 central_server.py

Service Node

Login Node

To start the Login Node, use the following command. The port_number is optional with a default value of 9001.

python3 login_node.py [port_number]

User Node

To start the User Node, use the following command. The port_number is optional with a default value of 9010.

python3 user_node.py [port_number]

Attendance Node

To start the Attendance Node, use the following command. The port_number is optional with a default value of 9020.

python3 attendance_node.py [port_number]

Payroll Node

To start the Payroll Node, use the following command. The port_number is optional with a default value of 9030.

python3 payroll_node.py [port_number]

Client Node

To start the Client Node, use the following command.

python3 app.py

And then visit http://127.0.0.1:5000/ to see the web interface.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published