kodjunkie / mini-hr

Mini HR software project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mini HR

A mini HR management software.

logo

Prerequisites

  • python >= 3.5
  • python3-dev & default-libmysqlclient-dev #Debian Users
  • Mac Users follow this link to get the prerequisites

Installation

Open terminal in desired directory and run these commands

git clone https://github.com/kodjunkie/mini-hr.git
cd mini_hr
pip3 install -r requirements.txt

Then open .dbconfig environment file and update database details, then run

python3 manage.py collectstatic
python3 manage.py migrate

Create super user who will manage the staffs

python3 manage.py createsuperuser --email name@domain.com --username name

Finally, start the server with this command

python3 manage.py runserver

After Installation

Visit these links in your browser

http://localhost:8000 - Users
http://localhost:8000/admin - Adminstrator / Super user

How is works

  • Only the super user can create staffs
  • Staffs can then login to update their profile with other required details
  • The super user can browser staff data
  • Search by 'email', 'phone', 'department', 'position'
  • And also filter by 'department', 'is active' and 'work status'

Added features

  • The super user can send emails to all or selected users
  • For the sake of demo, the message is logged to the console
  • I have also added some tests

Test

To run unit tests, use

python3 manage.py test users

❤️

About

Mini HR software project


Languages

Language:Python 46.7%Language:HTML 41.8%Language:JavaScript 11.2%Language:CSS 0.4%