Full-Stack WebCompleted

Whispr

Anonymous Messaging & Honest Feedback Platform

DisciplineFull-Stack Web
StatusCompleted
Lead EngineerMichael Umoize
ArchitectureDocumented
Whispr - Display Image

Engineering Overview

Whispr is a full-stack anonymous messaging and feedback platform designed to facilitate honest peer feedback, candid questions, and community interactions. Users register an account, configure a personalized vanity link, and share their profile URL publicly across social networks or private channels. Visitors can submit whispers (up to 500 characters) through the public recipient interface without creating an account or revealing their identity. The application's privacy model is intentionally unlinked: the MongoDB Message schema records only the recipient ID, message text, and creation timestamp. No sender account identifier, IP address, or user agent is stored in the message record. Messages are stored unencrypted in MongoDB, allowing authenticated account owners to securely query and manage their incoming feedback from any device. (The platform does not implement end-to-end encryption, as messages are intended for direct query and display within the recipient's authenticated dashboard). Account owners access a private inbox with live synchronization, optimistic UI updates, and atomic deletion controls (guarded by session authentication and MongoDB findOneAndDelete scoped to the recipient ID). Users can generate high-DPI branded share cards with custom gradient themes using html-to-image to invite feedback across Instagram, X, and messaging apps, or use the Web Share API (navigator.share) on mobile devices. The system is built on Next.js 16 (App Router) and React 19, utilizing Better Auth with a MongoDB adapter for credentials and Google OAuth authentication. Database operations use a cached dual-connection strategy combining the native MongoDB driver for authentication sessions with Mongoose 9 for application schemas. Product analytics and usage metrics are captured through PostHog.
System Architecture Pipeline
Data Flow Contract
Public Sender (/whispr/[username]) → Next.js Route Handlers & Zod Validation → MongoDB / Mongoose Message Schema (Unlinked Sender Record) | Better Auth (MongoDB Adapter & Google OAuth) → Authenticated Dashboard → Atomic Message Management & html-to-image Share Cards

Key Implementations & Technical Features

Anonymous message submission with real-time 500-character count limits and client-side Zod validation
Unlinked message privacy architecture omitting sender identifiers, IP addresses, and user-agent metadata from message records
User authentication via email/password and Google OAuth powered by Better Auth with MongoDB adapter
Personal shareable links with custom vanity slug resolution (/whispr/[username]) and clipboard copy utilities
High-DPI social share card generator with selectable gradient themes exported via html-to-image
Protected recipient inbox featuring reverse-chronological sorting, empty states, and live synchronization
Atomic, authenticated message deletion using MongoDB findOneAndDelete with Framer Motion layout animations
Mobile-first responsive interface with native mobile share sheet integration via the Web Share API
Product analytics and user engagement tracking integrated via PostHog
Dark and light mode theming powered by next-themes with accessible glassmorphism styling

Technologies & Libraries

Next.jsReactTypeScriptMongoDBMongooseBetter AuthTailwind CSSFramer MotionZodPostHoghtml-to-image