Skip to content

Very Simple Attendance System is a modern, Docker-based attendance tracking solution that combines security with simplicity. Built for organizations that need reliable attendance tracking with device-specific verification.

Notifications You must be signed in to change notification settings

rakshitbharat/very-simple-attendance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎯 Very Simple Attendance System

GitHub License Docker Next.js Deploy with Vercel

πŸ“– About

Very Simple Attendance System is a modern, Docker-based attendance tracking solution that combines security with simplicity. Built for organizations that need reliable attendance tracking with device-specific verification.

Why Choose This System?

  • πŸ” Enhanced Security: Unique PTP (Personal Token Pin) system for device verification
  • ⚑ Real-time Tracking: Instant clock in/out with live updates
  • 🌟 User-Friendly: Clean, intuitive interface for both admins and users
  • πŸ”„ Flexible Management: Comprehensive admin controls for user management
  • πŸ“Š Rich Analytics: Detailed attendance reports and statistics
  • 🐳 Easy Deployment: Simple Docker-based setup

πŸš€ Quick Start

One-Click Setup

# Clone the repository
git clone https://github.com/rakshitbharat/very-simple-attendance.git

# Navigate to project directory
cd very-simple-attendance/source

# Launch with Docker
docker-compose up -d

Access your system at http://localhost:3000

Default Admin Credentials:

Email: admin@admin.com
Password: [Contact System Provider]

πŸ’« Features Showcase

πŸ” Authentication & Login

Login Screen

πŸ‘₯ User Management

Admin Dashboard Overview

Admin Dashboard Overview

User Management List

User Management Interface

Administrative Controls:

Add User Interface Add Admin Interface
Delete User Function

⏰ Attendance Tracking

User Dashboard Interface

User Dashboard

Clock In/Out Interface

Clock In/Out Interface

πŸ”’ PTP Security System

PTP Information

PTP Information Screen

PTP Verification

PTP Verification Process

PTP Reset

PTP Reset Function

πŸ“± Interface Tour

Admin Dashboard

Admin Dashboard
  • Active users monitoring
  • Total check-ins tracking
  • Weekly attendance overview
  • User management tools
  • PTP management system

User Dashboard

User Dashboard
  • Current work status
  • Today's hours tracking
  • Weekly summary
  • Monthly attendance calendar
  • Personal activity log

πŸ› οΈ Technical Stack

  • Frontend: Next.js 14
  • Backend: Next.js API Routes
  • Database: MySQL
  • Containerization: Docker & Docker Compose
  • Authentication: Custom PTP System

πŸ–₯️ CLI Operations

Password Management

The system provides command-line tools for user management and password operations:

# Reset user password
npm run reset-password

# This will:
# 1. Show all current users
# 2. Allow you to select a user
# 3. Let you set a new password
# 4. Provide a PTP code for verification
CLI Password Reset

Password Reset via CLI

User Management

# Create new user
npm run reset-password
# Select "Create New User" option
# Follow the prompts to enter email and password
CLI User Creation

User Creation via CLI

CLI Features:

  • πŸ‘€ List all current users
  • πŸ”‘ Reset user passwords
  • βž• Create new users
  • πŸ” Automatic PTP code generation
  • πŸ“Š Direct database interaction
  • ⚑ Quick administrative actions

Note: CLI operations require direct access to the application server and appropriate permissions.

πŸ“‹ User Guides

For Administrators

  1. User Management

    • Add new users
    • Assign roles
    • Manage PTPs
    • Monitor attendance
  2. System Controls

    • Reset user PTPs
    • Manage devices
    • Generate reports
    • Configure settings

For Regular Users

  1. First-Time Setup

    • Login with provided credentials
    • Enter PTP code
    • Register device
  2. Daily Usage

    • Quick clock in/out
    • View attendance history
    • Check work hours
    • Monitor attendance streak

βš™οΈ Configuration

Environment Setup

DB_HOST=localhost
DB_PORT=3306
DB_USER=root
DB_PASS=password

Docker Configuration

version: "3.8"
services:
  app:
    build: .
    ports:
      - "3000:3000"

πŸ†˜ Troubleshooting

Common solutions for:

  • Device verification issues
  • PTP reset procedures
  • Login problems
  • Docker deployment challenges

🀝 Support

Need help? We're here for you:

  1. Check the troubleshooting guide
  2. Contact system administrator
  3. Submit an issue on GitHub
  4. Email support team

πŸ“œ License

This project is licensed under the MIT License - see the LICENSE file for details.


🌟 Secure Attendance Tracking Made Simple 🌟

Built with ❀️ for modern organizations

About

Very Simple Attendance System is a modern, Docker-based attendance tracking solution that combines security with simplicity. Built for organizations that need reliable attendance tracking with device-specific verification.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages