Skip to content
Back to Portfolio

AI Contract Generator — Real-Time Contract Drafting Tool

Year

2025

Client

Personal Project

Role

Full Stack Developer

AI Contract Generator — Real-Time Contract Drafting Tool

Overview

The AI Contract Generator is an MVP web application I built to allow users to create professional contracts efficiently. Users describe their business context in plain language, and the system delivers a complete, formatted contract in HTML, including section numbering, styling, and consistent terminology. I focused on architecting real-time systems that stream AI-generated content efficiently, handling token limits, API failures, and latency while maintaining a smooth, responsive user experience.

Challenges

Building a real-time system capable of streaming long AI-generated contracts while handling token limits, API failures, latency, and ensuring a consistent, legally structured document.

Solutions

Implemented a minimal frontend with a text area, generate/stop button, content display area, and download functionality for HTML contractsDesigned a robust backend using AWS serverless services to handle streaming content efficientlyHandled API token limits, failures, and latency to ensure reliable delivery of contractsEnsured consistent terminology, legal structure, and formatting across all generated contractsOptimized real-time streaming to make the interface feel fast and responsive to usersIntegrated download functionality so users can save fully formatted HTML contracts

Results

The AI Contract Generator successfully delivers complete, formatted contracts in real time, providing users with an intuitive and reliable tool for generating legal documents. It demonstrates real-time AI content streaming, robust backend architecture, and a clean, minimal frontend experience.

Gallery

AI Contract Generator — Real-Time Contract Drafting Tool screenshot 1
AI Contract Generator — Real-Time Contract Drafting Tool screenshot 2
AI Contract Generator — Real-Time Contract Drafting Tool screenshot 3

"This project showcases Erin’s ability to design and implement real-time AI-driven systems. The contract generator is fast, reliable, and produces high-quality outputs, demonstrating strong full-stack engineering and AI integration skills."

Self-Review

Full Stack Developer

Technologies

Next.jsReact.jsTypeScriptAWS LambdaServerless ArchitectureOpenAI APIReal-Time StreamingHTML Formatting

Categories

software toolsaifrontendbackendfullstack

Project Links