jason 042c45d9dd fix: restore DATABASE_URL in schema.prisma for Prisma 7 runtime client
Prisma 7's prisma.config.ts only configures the CLI, not the runtime
PrismaClient. Without url in the datasource block, the generated client
defaults to engineType "client" (WASM) which requires an adapter,
causing next-auth adapter errors on OAuth callback.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-12 23:46:01 -05:00
2026-03-12 17:09:22 -05:00
2026-03-12 23:29:00 -05:00
env
2026-03-12 22:58:27 -05:00
env
2026-03-12 22:58:27 -05:00
2026-03-12 23:09:48 -05:00
2026-03-12 23:20:49 -05:00
2026-03-12 22:53:56 -05:00
2026-03-12 23:34:19 -05:00
2026-03-12 17:09:22 -05:00
2026-03-12 20:27:11 -05:00
2026-03-12 17:09:22 -05:00
2026-03-12 20:13:55 -05:00
2026-03-12 17:09:22 -05:00
2026-03-12 22:53:56 -05:00
2026-03-12 17:09:22 -05:00
2026-03-12 17:09:22 -05:00
2026-03-12 17:09:22 -05:00

WFH Daily Report App

A sleek, modern, and dockerized web application for employees to track and submit their daily work-from-home reports. Features a stunning glassmorphic design and seamless integration with Google Workspace.

Features

  • Premium UI: Modern glassmorphism aesthetics with smooth animations and responsive design.
  • Google OAuth 2.0: Secure authentication using your company's Google Workspace accounts.
  • Multi-Step Reporting:
    • Morning: Log planned tasks, time estimates, and initial notes.
    • Evening: Review achievements, update statuses, and submit links to completed work.
  • Smart Admin Logic:
    • The first user to log in is automatically granted the ADMIN role.
    • Exclusive Admin Panel to search and review all employee reports.
  • Google Drive Integration:
    • Automatically exports completed reports as Google Docs.
    • Admins can designate a specific folder for all exports.
  • Single-Container Architecture: Uses SQLite for persistent storage, making it ideal for "drop-in" deployments (e.g., Unraid, Synology).

🚀 Quick Start

1. Prerequisites

  • Google Cloud Console Project with:
    • OAuth 2.0 Credentials (Web Application)
    • Google Drive API enabled
  • Docker installed on your host.

2. Environment Setup

Copy .env.example to .env and provide your credentials:

cp .env.example .env

3. Run with Docker

# Build and run the container
docker build -t wfh-report .
docker run -p 3000:3000 \
  --env-file .env \
  -v $(pwd)/data:/app/data \
  wfh-report

🏡 Unraid Installation

For specific instructions on installing this on Unraid (including volume mapping and Unraid UI configuration), please refer to our Unraid Installation Guide.

🛠️ Tech Stack

Description
Work From Home - Progress Tracker
Readme 421 KiB
Languages
TypeScript 91.2%
Dockerfile 3.3%
CSS 2.9%
JavaScript 2.6%