Shared IA - Shared AI Platform

Full-stack collaborative AI chat: up to 4 users per room, collective message validation before sending to the AI, conflict resolution and real-time updates via Socket.io (Node.js / Express, React).

Overview

Shared IA is a collaborative AI chat application: several users (max 4) share a room; every message must be validated by the other members before it is sent to the OpenAI API. A dedicated flow resolves simultaneous proposals (voting / conflict resolution).

The backend is a Node.js API with Express, Socket.io for real time, PostgreSQL, JWT authentication and Swagger documentation. The frontend is a React SPA with TypeScript and Vite, state with Zustand, Tailwind CSS and shadcn/ui components.

Source code lives under big-projects/shared-ia in the all-my-projects repository.

Features

  • Collective validation · Messages stay pending until every other room member validates them; reject, edit or retract before the AI call.
  • Conflict resolution · When several messages are proposed at once, members vote to pick the one sent to the AI.
  • Real time · Instant updates over Socket.io (typing indicators, presence, state sync).
  • Rooms and invitations · Room management, invitations, JWT authentication and OpenAI integration (streaming).
  • React interface · React + TypeScript + Vite SPA, React Hook Form / Zod, shadcn/ui.

Gallery

Tech

Node.js · Express.js · Socket.io · React · TypeScript · Vite · Tailwind CSS · Zustand · OpenAI · PostgreSQL · JWT · Swagger · VS Code · Git · GitHub