Case study · 02
LegalConnect — AI legal consultation
Overview
Full-stack legal consultation experience with OpenAI-assisted intake, role-based dashboards for clients and counsel, and HD-ready session flows built on scalable REST APIs.
Project preview

Technologies used
- Next.js
- PostgreSQL
- OpenAI APIs
- OAuth
- REST APIs
Key features
- OpenAI integration for guided intake, drafting assistance, and session context
- OAuth-aware identity with role-separated dashboards and audit-friendly flows
- REST APIs designed for consultation scheduling, documents, and messaging
- Foundations for secure HD video sessions alongside asynchronous messaging
- Next.js surface with emphasis on trust, clarity, and low-friction onboarding
Challenges solved
- Balancing rich AI assistance with strict expectations around privacy and consent
- Designing APIs that stay evolvable as compliance and billing rules change
- Keeping consultation state consistent across chat, documents, and session metadata
Architecture & engineering highlights
Diagram
Service-oriented modules for identity, scheduling, and AI orchestration, with Postgres as the system of record for cases and entitlements.
Engineering highlights
Trusted intake
Assistant flows that collect structured matter data without overwhelming users unfamiliar with legal tooling.
Counsel-ready context
Dashboards that surface the right history before a live session so time on video stays focused.
Screenshots
Future improvements
- Hardened retention policies for documents with jurisdiction-specific controls
- Billing hooks for time-boxed consults and subscription counsel plans
- Formalized evaluation harnesses for prompt changes tied to intake quality metrics

