Personal Full-Stack Project
AI Chat and Image Platform
Next.js and PostgreSQL platform with persisted AI chat threads, image generation workflows, API key issuance, token metering, and OpenAI-compatible proxying for 200+ monthly active users.

Overview
This project is a production-style AI chat and image platform built with Next.js, TypeScript, and PostgreSQL. The goal was to move beyond a simple chat demo and build the surrounding infrastructure users and developers expect: persistent conversations, account sessions, metering, quotas, API keys, documentation, and robust access control.
What I Built
- Built persisted chat threads and image workflows in Next.js with TypeScript.
- Served 200+ monthly active users with token metering and quota-aware request handling.
- Implemented secure authentication with NextAuth sessions.
- Added developer tooling including API key issuance, usage tracking, OpenAPI documentation, and an OpenAI-compatible proxy.
- Applied production patterns including serverless API routes, provider proxying, response sanitization, client-side cache/pagination, and access control.
Technical Stack
- Next.js
- TypeScript
- React
- PostgreSQL
- NextAuth
- Serverless API routes
- OpenAPI
- AI provider proxying
Impact
This project gave me practical experience designing the full surface area around an AI product, not just the model call. I focused on the parts that make the system usable and maintainable: identity, quotas, auditability, persistence, and clean client/server boundaries.