Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/judahpaul16/employee-time-clock
A simple web-based employee time clock application built with React.
https://github.com/judahpaul16/employee-time-clock
employee-management express javascript nedb productivity reactjs saas time-clock typescript
Last synced: about 2 months ago
JSON representation
A simple web-based employee time clock application built with React.
- Host: GitHub
- URL: https://github.com/judahpaul16/employee-time-clock
- Owner: judahpaul16
- Created: 2023-08-19T17:05:34.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-27T21:44:03.000Z (8 months ago)
- Last Synced: 2024-05-11T05:50:35.398Z (8 months ago)
- Topics: employee-management, express, javascript, nedb, productivity, reactjs, saas, time-clock, typescript
- Language: TypeScript
- Homepage:
- Size: 192 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🕙 Employee Time Clock 🕐
A simple web-based employee time clock application built with React.
## Requirements
- [Node.js](https://nodejs.org/)
## Installation
1. **Clone the Repository**
```bash
git clone https://github.com/judahpaul16/employee-time-clock.git
cd employee-time-clock
2. **Install Dependencies**```bash
npm i3. **Start the Application** (Development)
```bash
# serves application to port 8081
npm start4. **Build the Application** (Production)
```bash
# 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](screenshot.png)
## Example reclone script for production (Linux + Phusion Passenger)
```bash
#!/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