BeyondStrings
Full Stack Developer · Live
Overview
Real-time messaging product with AI-powered conversation insights, full-text search, and client-side message encryption. Architected the frontend with Redux Toolkit and encrypted persistence so chat history survives reloads without leaking sensitive content. Offloads heavy work (insight generation, notifications) from Vercel serverless routes to a BullMQ worker on Upstash Redis, with Neon Postgres for durable storage and Firestore for real-time presence and messaging. Messages are encrypted client-side with CryptoJS AES, with Firestore security rules locking down access.
Key Highlights
- ▹Encrypted persistence (Redux Toolkit + encrypted redux-persist) so chat history survives reloads without leaking sensitive content
- ▹Offloads heavy work (insight generation, notifications) from Vercel serverless routes to a BullMQ worker on Upstash Redis
- ▹Neon Postgres for durable storage, Firestore for real-time presence and messaging
- ▹Client-side AES encryption (CryptoJS) with explicit Firestore security rules
Tech Stack
Architecture
Client: a React 19 + Vite single-page app with Redux Toolkit. Chat state is persisted through redux-persist with a CryptoJS AES transform, so stored history is encrypted in the browser, and messages are AES-encrypted client-side before they reach Firestore, which carries presence and real-time messaging under explicit security rules (with a rules test suite).
Server: Vercel serverless routes (auth, chats, search, AI, jobs, notifications, export, storage and health) do request-time work and enqueue heavy jobs, such as insight generation and notifications, for a separate BullMQ worker that connects to Redis (Upstash) through REDIS_URL, so that work never runs inside a request. Neon Postgres holds durable data and a generated tsvector column provides English full-text search.
AI calls are consent-gated: the server issues a single-use consent record with a five-minute lifetime, bound to a SHA-256 digest of the exact request and to the configured provider, before any text is sent to that provider.