This setup guide is for setting up the HR; OS application in a local development environment. You can also host this application on various cloud hosting providers such as AWS, GCP, AZURE, DigitalOcean, Heroku, Netlify, Vercel, Render, etc.
- Prerequisites
- Database (PostgreSQL)
- Backend (Express/Node.js)
- Frontend (React.js)
- Features and Functionalities
- Collaboration
- License
Before starting the installation process, you need to ensure that the following prerequisites are met:
- Download and Install the LTS version (Current LTS version is 16.18.0) of the Node.js runtime environment from the official website here.
- Download and Install the PostgreSQL database from the official website here.
- Type command:
npm install --global yarn
. It will install the Yarn package manager globally on your machine if it is not already installed.
Without installing Node.js, you cannot use the npm command. To check whether Node.js has been installed correctly, type the command node --version
in your terminal. It will show the current Node.js version of your machine.
- At the time of installation, make a note of the database username, password, and port number.
- After installing PostgreSQL, you need to create a database. To create a database, open the psql command shell and type:
CREATE DATABASE hrm;
. - Remember your database username, password, port, and the name of the created database. You will need them later in the backend part to set up the environmental variable in the .env file.
- Navigate into the backend folder
ERP_OS_Backend
from your command prompt/terminal. - Type command:
yarn
. It will install all the required libraries and packages required for the backend. If you see any warnings while running yarn, you have to activate the script to run the yarn command in your machine. Or you can use the npm install command instead of yarn. - You will find a
.env
file in the root directory of the backendERP_OS_Backend
, set appropriate values for all the variables. To do this, edit the.env
file and change all the variables accordingly. - Type command:
yarn prisma migrate dev
. It will create the required database table and data in the PostgreSQL database that you have installed previously. - Type command:
yarn start
. It will start the backend server onhttp://localhost:5000/
.
- Navigate to the frontend folder
HRM_OS_Frontend
from your command prompt/terminal. - Type command:
yarn
. It will install all the required libraries and packages required for the frontend. - You will find a
.env
file in the root directory of the front and set the variableREACT_APP_API = http://localhost:5000/v1/
. - Type in your terminal command:
yarn start
. It will start the frontend server onhttp://localhost:3000/
.
The Elegant Dashboard Design includes the following features and functionalities:
- Elegant and user-friendly dashboard
- Employee management
- Leave management
- Payroll management
- Performance management
- Recruitment management
- Appraisal management
- Account management
- PWA available on both Android and iOS
- Pagination in all table views and date-wise data view in a table
- Packing Slip printing
- Dynamic Invoice Header, Footer data edit
- Bulk CSV data upload
- Download data as CSV
- search
Contributions to this project are welcome! Please see our Contributing Guidelines for more information.
This project is licensed under the MIT License.