← Back to Projects
AI / SaaS

Notion AI Workspace

A collaborative document creation platform with real-time collaboration, smart suggestions, and automated workflows. Handles 100k+ documents daily with sub-second response times.

ReactPythonFastAPIPostgreSQLRedis
Notion AI Workspace

Overview

A real-time collaborative document editor with AI-powered writing assistance. Think Notion meets Copilot — smart suggestions, auto-formatting, and workflow automation built directly into the editing experience.

Challenges

Synchronising edits across concurrent users in real time required a custom CRDT-based conflict resolution layer on top of WebSockets. Latency had to stay under 100ms globally.

Tech Stack

  • Frontend: React with TipTap editor and Yjs for CRDTs
  • Backend: Python + FastAPI with WebSocket support
  • Database: PostgreSQL for persistence, Redis Pub/Sub for sync
  • AI: OpenAI GPT-4 for suggestions, streamed via SSE

Outcome

Handles 100k+ documents daily. P95 sync latency is 45ms. Reduced document creation time by 60% compared to users' previous workflows.