← projects

cosmos

2024 · live · full stack

A full-stack SaaS platform with multi-tenant architecture, real-time collaboration, and an integrated AI assistant for teams.

6 screenshots · click to enlarge

overview

Cosmos is a comprehensive SaaS platform built to help teams collaborate, manage projects, and leverage AI-powered insights. The platform features a multi-tenant architecture with isolated data environments, real-time sync powered by webhooks and Supabase, and a built-in AI assistant for automated task management and content generation. Built with Next.js 14 App Router and deployed on Vercel Edge.

challenges

Building a truly multi-tenant architecture that isolates data securely between organisations while maintaining fast query performance. Integrating real-time collaboration without conflicts was another significant challenge, solved through optimistic updates and conflict resolution strategies.

outcome

Successfully launched and onboarded early-access users. The AI assistant reduced repetitive task management by 60% in beta testing. Achieved sub-200ms average response times across all core API routes.

stack

next.js · typescript · supabase · postgresql · openai · prisma · tailwind css · vercel · clerk · resend