Saurabh Yadav

Full-Stack & Systems Developer

Project Detail

AI Chat Application

Persistent AI chat product with GitHub OAuth, conversation history, streaming responses, modular AI provider architecture. Not just an API wrapper.

Shipped 2025

Next.js + PostgreSQL

ai

Technical Summary

StackNext.js + PostgreSQL
Platformweb
RoleFull-Stack Developer
TechnologiesNext.js, React, TypeScript, PostgreSQL, Drizzle, NextAuth, Zustand, OpenRouter
ContextPersonal Project
Team Size1

Key Responsibilities

  • Built full-stack architecture with Next.js
  • Implemented streaming response system
  • Created modular AI provider interface
  • Integrated GitHub OAuth and user management

Project Insights

Built a production AI chat app with persistent state, streaming responses, and modular provider architecture

Technical Concepts

  • Persistent conversation storage with PostgreSQL and Drizzle ORM
  • Streaming response handling with Server-Sent Events
  • Modular AIProvider interface for multiple LLM backends
  • GitHub OAuth integration with NextAuth

Architecture & Features

  • Conversation CRUD with soft delete and archiving
  • Message history with context window management
  • Real-time streaming UI with loading states
  • Responsive design for mobile and desktop

Key Learnings

  • Streaming responses improve perceived performance significantly
  • Modular provider architecture enables easy LLM switching
  • Persistent state is what separates products from demos

Project Links