Skip to content

udhayakumarcp/zingHR

Repository files navigation

Zing HR

The Node.js application will mark the punch in/out at the desired time.

Create .env

Copy env file as .env and update the required parameters by below the command.

cp .env.example .env

Install the Docker

To Install the Docker run the below command in Ubuntu. For more visit the Docker's install page

For Development

Install NVM

To install the NVM, run the below command. For more info visit the NVM's docs

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.2/install.sh | bash

Install the Node

Install the Node.js by using the below command.

nvm install
nvm use

Install packages

Install the dependencies by using the below command.

npm install

Run the docker

Run the below command to run the PostgreSQL through Docker.

docker compose up -d

Run the migration

npx sequelize-cli db:migrate

Run the Application

Run the application by using the below command

npm run dev

For Production

Build the application

To build and run the application as container through Docker run the below command.

docker compose --profile prod up -d --build

Run the migration

docker-compose exec app npx sequelize-cli db:migrate

About

A Node application to hit puch IN and OUT automatically at desired time in https://portal.zinghr.com/2015/pages/authentication/zing.aspx

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published