GithubHelp home page GithubHelp logo

judahpaul16 / employee-time-clock Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 197 KB

A simple web-based employee time clock application built with React.

HTML 0.63% CSS 15.65% TypeScript 61.92% JavaScript 21.80%
employee-management productivity reactjs time-clock typescript saas nedb express javascript

employee-time-clock's Introduction

๐Ÿ•™ Employee Time Clock ๐Ÿ•

A simple web-based employee time clock application built with React.

Requirements

Installation

  1. Clone the Repository

    git clone https://github.com/judahpaul16/employee-time-clock.git
    cd employee-time-clock
    
  2. Install Dependencies

     npm i
    
  3. Start the Application (Development)

     # serves application to port 8081
     npm start
    
  4. Build the Application (Production)

     # builds application in the 'dist' folder
     npm run build
    

Usage

  • Employees can navigate to their unique URL to clock in/out.
  • Administrators can log in to the dashboard to view and manage time logs.

Screenshot

Example reclone script for production (Linux + Phusion Passenger)

#!/bin/bash

# Print the warning message
echo ""
echo "This script will reset the employee time clock database."

# Prompt the user for confirmation
read -p "Are you sure you want to continue? (y/n): " response

# Check if the response is 'y' or 'Y'
if [[ "$response" == "y" || "$response" == "Y" ]]; then
  echo "Recloning..."
  echo ""
else
  echo "Operation canceled."
  echo ""
  exit 0
fi

rm -rf 'employee-time-clock/'
git clone https://github.com/judahpaul16/employee-time-clock.git
cd employee-time-clock
npm i && npm rebuild bcrypt --build-from-source && npm run build && mkdir ./tmp && touch ./tmp/restart.txt

employee-time-clock's People

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.