Case studyAI Document Automation

Law Firm Automation.

Legal drafting, automated

A full-stack platform that drafts legal documents with AI, tracks matters and tasks, and surfaces analytics — production patterns throughout: JWT auth, rate limiting, structured logging.

Node.jsExpressMongoDBReactViteGrok-4
Platform WebBuilt 2025
owen-lawfirm.web.app
Law Firm Automation dashboard — seeded demo data
Dashboard shown with seeded demo data — backend not currently hosted
01 Overview

A real backend behind an AI legal workflow.

Law Firm Automation pairs a React front end with an Express/MongoDB API to generate and manage legal documents using an LLM. It is built like a product, not a demo: authentication, rate limiting, request logging, and a clean controller/service/route separation across the backend.

02 Features

What it does.

1

AI document drafting

Generates and improves legal documents with an LLM, structured around reusable templates.

2

Matter & task management

Track cases and to-dos with a React Query + Zustand front end.

3

Auth & security

JWT authentication, rate limiting, and Winston logging baked in.

4

Analytics

A dashboard view over activity and throughput.

5

Clean architecture

Controllers, services, models, and routes cleanly separated for maintainability.

6

Container-ready

Dockerized and structured for a one-command deploy.

03 Engineering

How it's built.

BackendNode.js · Express
DatabaseMongoDB
FrontendReact · Vite
StateReact Query · Zustand
AIxAI Grok-4
OpsJWT · Docker

Want a closer look?

Happy to demo Law Firm Automation live or walk through the architecture and trade-offs.