LexFlow – Law Firm Case, Client & Billing Management | Vibe96

Business & Operations

LexFlow – Law Firm Case, Client & Billing Management

Source code included

Law practice management for solo lawyers and firms of 1–25 seats, in English and Arabic, with a client portal.

Built by Md Sakibul Islam Updated 1 Dec 2026 34,622 lines of code

Open live demo Built withClaude Code

About this software

About LexFlow – Law Firm Case, Client & Billing Management

LexFlow is a self-hosted web application (Next.js 16 front end, NestJS API, PostgreSQL 16, Redis/BullMQ) that covers cases, clients, hearings, documents, tasks, time tracking and VAT invoices. Hearings get 24 h and 2 h reminders sent by a background worker, and clients can open a read-only portal through a tokenised link. Access is role-based (Admin, Lawyer, Paralegal), and lawyers and paralegals can open only records on cases they work on. The source is a pnpm monorepo with shared Zod schemas, 12 SQL migrations, Docker Compose files and a VPS setup guide. It is web only; no mobile app is evidenced in the code.

Category: Business & OperationsStack: Next.js 16 (App Router) + NestJS 11 · PostgreSQL 16Built with: Claude Code Licence: Single-site, full source

Why LexFlow – Law Firm Case, Client & Billing Management

What makes it better
than the alternatives

  1. 01

    Record-level access control

    A global guard chain (throttle, origin check, JWT, roles, record access) checks every :id route on cases, clients, hearings, documents, tasks, time entries, invoices and communications against the user's assigned cases.

  2. 02

    Arabic and English

    The web app ships Arabic translation files and a direction provider for right-to-left layout, with default language set per installation.

  3. 03

    Hearing reminders on a queue

    A BullMQ worker with a tested reminder plan sends 24 h and 2 h reminders, and the shared reminder-plan logic skips reminders already sent or past due.

  4. 04

    Hardened first-run and sessions

    First admin sign-up is serialised with a Postgres advisory lock and needs ADMIN_SETUP_TOKEN in production; sign-out and password changes revoke tokens via a token version.

  5. 05

    Verifiable database and delivery

    CI rebuilds the schema from migrations on empty PostgreSQL 16 and compares it with database/schema.sql; the repo also includes unit and e2e tests for portal isolation, staff scope and session revocation, plus a source manifest checksum.

Cases and clients

  • Case and client records with filtering and search
  • Case team membership and case dossier view
  • Court-ready dossier PDF export
  • Conflict-of-interest check across the firm
  • Communication log per case or client

Hearings and calendar

  • Hearing calendar with hearing types
  • 24 h and 2 h reminders by email via user-configured SMTP
  • Web Push notifications (VAPID) and in-app notification bell
  • iCal export library included as a dependency

Documents

  • Document vault with upload validation and file-signature checks
  • Local disk or Cloudflare R2 storage
  • Encrypted file storage (file-crypto module)
  • Send a document by email

Tasks and time

  • Task management with status select
  • Time entries with a live timer
  • Time billed in hours
  • rounded to 2 decimals

Invoicing

  • VAT invoices with line items and tested invoice maths
  • Invoice PDF generation through a background queue
  • Invoices limited to Admin and Lawyer roles; protected from deletion with cases

Client portal

  • Token-link portal for each client
  • with tokens stored hashed
  • Regenerate or revoke a portal link
  • Portal isolation covered by e2e tests

Dashboard

  • Metrics and date-range trends read from pre-aggregated tables
  • Bar charts
  • background recalculation
  • Admin-triggered refresh

Administration and security

  • Users and roles: Admin
  • Lawyer
  • Paralegal
  • Append-only audit log
  • viewable by Admin
  • Firm profile
  • logo and encrypted SMTP settings
  • Rate limiting
  • httpOnly cookies
  • CORS origin guard

Deployment

  • Docker Compose with separate api
  • worker
  • web
  • postgres and redis
  • Coolify compose file and a VPS setup guide
  • Migrations applied on start in production
  • GitHub Actions CI with typecheck
  • lint
  • tests and smoke run

Quality report

Manually reviewed

87/ 100

Automated audit score

✓ Passed the audit

Passed the audit and a manual review.
Audit run: 25 Nov 2026
Reviewed by Vibe96 staff, Dubai.

Security89
Code structure88
Docs & completeness92
Dependency health88
Build & deploy82
Reviewer notes (2 minor)

Build looks reproducible, but key build files and the setup doc were not visible, so some checks are unverified; drizzle orm with proven migrations; most service sql is not visible in the digest. None of these stop the software from working; the developer has been told and improvements come in a future update.

Versions & updates

1.0.0
First release1 Dec 2026✓ Reviewed & audited

No updates yet. New versions appear here with a changelog.
Buyers receive updates free for 1 year.

Quality report

What you get

  • </>Full source codeThe complete audited source, delivered as a download from your account. No obfuscation.
  • ▤DocumentationSetup guide, architecture notes, CLAUDE.md and AGENTS.md.
  • ↻One year of updatesEvery new version the builder publishes, free for 12 months.
  • ♧30 days of supportInstallation and defect support through Vibe96 tickets.
$80Single-site licence Details
Vibe Studio Vibe Coding Platform

Build websites, mobile apps & business software.

  • .NET + SQL Server
  • Laravel + MySQL
  • Next.js + PostgreSQL
  • React Native
Build your software using AI
Nova, the Vibe Studio AI developer, with the Studio editor
Get it live

Your software. Your own domain.

$5/month

8-core CPU24 GB RAM
Shared high-performance servers
yourcompany.comLive
Make it live