RH
Personal · Full Stack

Law CRM

Court Case Management

Law CRM (H & H Company Court Diary) is a case management system for legal practices — tracking case lifecycles, scheduling hearings, recording payments, managing opposing parties and clients, and coordinating work across lawyers and administrators.

My Role

Full-stack development — React SPA frontend with Laravel REST API integration.

ReactTypeScriptViteLaravel APICharts

Dashboard

  • Summary cards for total cases, upcoming hearings, and disposed cases
  • Upcoming cases table with hearing dates, stage, client, and lawyer
  • Pie chart — case stage distribution (Active, Disposed, Resolve, Archive)
  • Bar charts — cases by court and by lawyer
  • Line chart — monthly revenue from case payments

Case Management

  • Paginated case list with search and stage filters
  • Multi-step case creation — basic info, client, and initial hearing
  • Case detail with timeline, hearings, and payments
  • Add hearings with file attachments and record payments
  • Edit cases (admin/owner) and export case summary as PDF

Team & Courts

  • Team member management with role assignment (admin, owner, lawyer)
  • Court CRUD with search, status filtering, and bulk import
  • Profile management with avatar upload and password change

Authentication & Roles

  • Email/password login with JWT Bearer token storage
  • Protected routes with session restoration via Zustand
  • Role-based route access — admin, owner, and lawyer permissions

Case Data Model

  • Basic info — case number, file number, court, lawyer, stage
  • Clients — contact, billing bank, fee schedule, referring firm
  • Parties — opposing party details and reference
  • Hearings — title, serial number, date, notes, attachments
  • Payments — amount, date, optional hearing link

Technology Stack

Frontend

React 19TypeScriptVite 7Tailwind CSS 4shadcn/uiRechartsZustand

Backend

Laravel REST APIJWT AuthPagination

Key Benefits

  • Centralized case lifecycle management
  • Visual analytics for case distribution and revenue
  • Role-based access for law firm teams
  • PDF export and hearing file attachments