August 2026
Legal Document Creator
Draft a legal agreement by chatting. Pick one of 11 Common Paper templates, answer in plain language, and watch the document fill in live.

- Role
- Solo build — frontend, backend, infrastructure
- Stack
- Next.js, FastAPI, SQLite, OpenRouter, Docker
What it changed
- The model replies against a Pydantic schema generated from each template's own fields, so a turn can only come back as valid, typed values.
- A turn is saved only after the model call succeeds — a failed request leaves nothing behind and is safe to retry.
- 136 tests across the stack: 65 on the backend, 71 on the frontend.
- One container, one origin. A multi-stage build compiles the Next.js export and FastAPI serves it, so there is no CORS layer to configure.