{"id":30835423,"url":"https://github.com/chocomeow/overtime-toil-tracker","last_synced_at":"2025-09-06T17:09:41.114Z","repository":{"id":312357041,"uuid":"1033073820","full_name":"ChocoMeow/Overtime-Toil-Tracker","owner":"ChocoMeow","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-30T02:07:42.000Z","size":237,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-30T04:12:44.966Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ChocoMeow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-06T09:00:45.000Z","updated_at":"2025-08-30T02:07:45.000Z","dependencies_parsed_at":"2025-08-30T04:12:47.687Z","dependency_job_id":"35284386-2d8d-4bfa-9111-e6f4e3816db0","html_url":"https://github.com/ChocoMeow/Overtime-Toil-Tracker","commit_stats":null,"previous_names":["chocomeow/overtime-toil-tracker"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/ChocoMeow/Overtime-Toil-Tracker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChocoMeow%2FOvertime-Toil-Tracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChocoMeow%2FOvertime-Toil-Tracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChocoMeow%2FOvertime-Toil-Tracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChocoMeow%2FOvertime-Toil-Tracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChocoMeow","download_url":"https://codeload.github.com/ChocoMeow/Overtime-Toil-Tracker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChocoMeow%2FOvertime-Toil-Tracker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273933933,"owners_count":25193602,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-09-06T17:09:26.515Z","updated_at":"2025-09-06T17:09:41.097Z","avatar_url":"https://github.com/ChocoMeow.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Overtime-Toil-Tracker\n\nA comprehensive web application for managing employee overtime, leave requests, and TOIL (Time Off In Lieu) tracking. Built with Vue.js frontend and Node.js/Express backend with SQLite database.\n\n## 📺 Screenshot\n\u003cimg width=\"1920\" height=\"960\" alt=\"Thumbnail\" src=\"https://github.com/user-attachments/assets/caf9a706-9f2a-4d9e-bb26-e191132efffa\" /\u003e\n\n## 🚀 Features\n\n### 👥 User Management\n\n-   Employee registration and authentication\n-   Role-based access control (Employee, Manager, Admin)\n-   User profile management\n\n### 📅 Leave Management\n\n-   Submit and track leave requests\n-   Multiple leave types with color coding\n-   Leave balance tracking\n-   Manager approval workflow\n\n### ⏰ Overtime Tracking\n\n-   Log overtime hours with descriptions\n-   Categorize overtime (Regular, Emergency, Weekend, Holiday)\n-   Manager approval system\n-   Overtime summary and reports\n\n### 🎯 TOIL (Time Off In Lieu) System\n\n-   Earn TOIL from approved overtime\n-   Track TOIL balance and expiry dates\n-   Use TOIL for time off\n-   TOIL usage tracking\n\n### 📊 Reporting \u0026 Analytics\n\n-   Dashboard with key metrics\n-   Leave and overtime summaries\n-   TOIL balance reports\n-   Admin approval interface\n\n## 🛠️ Tech Stack\n\n### Frontend\n\n-   **Vue.js 3** - Progressive JavaScript framework\n-   **TypeScript** - Type-safe JavaScript\n-   **Vite** - Fast build tool and dev server\n-   **Pinia** - State management\n-   **Vue Router** - Client-side routing\n-   **Reka UI** - Modern UI components\n-   **Tailwind CSS** - Utility-first CSS framework\n-   **Lucide Vue** - Beautiful icons\n\n### Backend\n\n-   **Node.js** - JavaScript runtime\n-   **Express.js** - Web application framework\n-   **TypeScript** - Type-safe JavaScript\n-   **Prisma** - Database ORM\n-   **SQLite** - Lightweight database\n-   **JWT** - JSON Web Tokens for authentication\n-   **bcrypt** - Password hashing\n\n## 🚀 Quick Start\n\n### Prerequisites\n\n-   Node.js (v20 or higher)\n-   npm or yarn package manager\n\n### 1. Clone the Repository\n\n```bash\ngit clone https://github.com/ChocoMeow/Overtime-Toil-Tracker.git\ncd Overtime-Toil-Tracker\n```\n\n### 2. Backend Setup\n\n```bash\n# Navigate to backend directory\ncd backend\n\n# Install dependencies\nnpm install\n\n# Set up environment variables\ncp .env.example .env\n# Edit .env with your configuration\n\n# Set up database\nnpx prisma generate\nnpx prisma migrate dev\n\n# Start development server\nnpm run dev\n```\n\n### 3. Frontend Setup\n\n```bash\n# Navigate to frontend directory\ncd frondend\n\n# Install dependencies\nnpm install\n\n# Set up environment variables\ncp .env.example .env\n# Edit .env with your API URL\n\n# Start development server\nnpm run dev\n```\n\n### 4. Access the Application\n\n-   Frontend: http://localhost:5173\n-   Backend API: http://localhost:3001\n-   Health Check: http://localhost:3001/health\n\n## ⚙️ Environment Configuration\n\n### Backend Environment (`backend/.env`)\n\n```env\nDATABASE_URL=\"file:./dev.db\"\nJWT_SECRET=\"your-super-secret-jwt-key\"\nPORT=3001\nCORS_ORIGIN=\"http://localhost:5173\"\n```\n\n### Frontend Environment (`frondend/.env`)\n\n```env\nVITE_API_URL=\"http://localhost:3001/api\"\n```\n\n## 📝 License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchocomeow%2Fovertime-toil-tracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchocomeow%2Fovertime-toil-tracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchocomeow%2Fovertime-toil-tracker/lists"}