// SAAS · LEGAL · NEXT.JS · 2023

PAININJURYLAW-SaaS

Next.js legal workspace — matters, contacts, communication, documents, eSign, and a widget intake. Postgres, Twilio, Nylas, S3, Docuseal.

Visit live site ↗
PAININJURYLAW SaaS — cover image
Next.jsFull-stack app
PostgresPrisma data model
5+ toolsUnified workspace
2+ yrsOngoing engagement
// THE WORK

Large SaaS app built end-to-end in Next.js for PAININJURYLAW. Postgres with Prisma underneath, and a deliberately unified workspace for legal teams — matters, contacts, communication, documents, eSign, and intake all in one place.

The app is organized around the matter. Every interaction — a call, an email, a meeting, a signed document, a new intake form submission — is attached to the matter so the team can open one screen and see the full history of a case.

Most of the work was integration: Twilio for voice and SMS, Nylas for email and calendar, AWS S3 for documents, Docuseal for eSign, plus a custom widget intake form the firm drops onto landing pages and third-party sites to capture new leads directly into the workspace.

// THE APPROACH

One screen, the full case — voice, email, documents, signatures, intake.

We built a Next.js + Postgres app where matters are the spine. Twilio handles voice and SMS and the conversation logs against the matter. Nylas brings email and calendar into the matter timeline. Documents live in S3 and surface on the matter; Docuseal embeds the eSign flow inside the same UI. The intake form is a small widget the firm drops onto any landing page or external site, and leads flow directly into the workspace.

  • Matters as the spine — contacts, communication, documents, eSign, and intake all hang off the matter.
  • Twilio voice + SMS, two-way and recorded against the matter timeline.
  • Nylas email + calendar — every message and meeting tied to a contact and matter.
  • AWS S3 document storage with permissioned access from inside the app.
  • Docuseal embedded for eSign — sign-in-app, no redirect off-site.
  • Widget-based intake form: drop a snippet on any site, new client leads flow into the workspace.
  • Postgres + Prisma data model designed to scale across multiple legal practice areas.
// STACK
  • Next.js
  • React
  • TypeScript
  • Postgres
  • Prisma
  • Twilio
  • Nylas
  • AWS S3
  • Docuseal
  • Tailwind CSS
  • Widget SDK
// GALLERY
PAININJURYLAW SaaS — 01
PAININJURYLAW SaaS — 02
PAININJURYLAW SaaS — 03
PAININJURYLAW SaaS — 04