Subham Haldar
personal

Connectopia — Real-Time Messaging Platform

Solo, full-stack · Jun 2023 – Sep 2023

Connectopia architecture: Next.js UI with a Zustand store, middleware, API routes and NextAuth on the server, Prisma over MongoDB, and Google/GitHub OAuth, Pusher Channels and Cloudinary as external services.

My first full-stack project: real-time private and group messaging with multi-provider auth, online presence and read receipts. One polymorphic Conversation model with an isGroup flag serves both chat types instead of two schemas.

Built with

Next.jsReactTypeScriptPrismaMongoDBPusherNextAuthCloudinaryTailwind CSS
Connectopia's messaging screen: a conversation list with a group chat and two direct chats, and an open conversation with sent and received messages.
Group and private chats in one inbox