Skip to main content
Back to Projects
CompletedFull Stack

Cycle — Real-Time Chat, Stories & Admin Console

Full-stack encrypted messaging with stories, groups, channels, a native mobile app and a role-based admin console.

Cycle chat platform — conversations, story composer and admin console

Overview

Cycle is a real-time messaging platform I designed and built end to end: a responsive web client, a React Native mobile app, and a role-based admin console, all talking to one Node.js API. It covers everyday chat alongside stories, groups, channels, reactions, mentions, read receipts and notifications, with English and full Arabic RTL support as first-class languages.

The brief

The goal was a product that feels immediate on a phone and complete on a desktop: conversations that never need a refresh, media that stays private, and moderation tools that do not require a developer. I handled the product design, the three clients, the API, the data model and the test suites.

What I built

  • A React and TypeScript web client with Redux state, optimistic sending and paginated history.
  • Live delivery over Socket.IO with rooms, typing indicators, presence, read watermarks and reconnect resync.
  • End-to-end encryption using per-conversation content keys, ECDH key wrapping, AES-GCM messages and TOFU key pinning.
  • Stories with text, photo and video modes, gradient themes, audience targeting and a 30-second browser-side video cut.
  • Groups, channels, friend lists, archived and starred views, polls, location and contact cards, and link previews.
  • An Expo and React Native app with SecureStore key storage and an offline outbox for failed sends.
  • An admin console for users, roles, permissions, moderation, announcements and statistics.

Privacy was a design constraint

Message bodies and attachments are encrypted before upload, so the server stores ciphertext and cannot read conversations. Key epochs let a removed member lose access to future messages while older history stays readable to the people who were part of it. A member who cannot obtain the current key can safely establish a fresh generation.

Stories that work on a phone

The story composer is a two-panel editor with a live 9:16 preview, text styling, a custom colour wheel and a friend picker for audience selection. Long videos are trimmed into a real 30-second clip in the browser before they are uploaded, which keeps the stored file small without a server-side media pipeline.

Admin without a developer

The console separates public accounts from internal team members and drives every screen from a permission matrix. Moderators can review reported content, manage roles, publish targeted announcements and inspect platform statistics through shared tables, filters and CSV/Excel export.

Mobile parity

The native app reimplements the same encryption wire format over pure-JS primitives, because React Native has no Web Crypto API. An interop test runs real browser crypto against the mobile implementation in both directions, so a message written on a phone can always be opened in a browser. More of the work is in the portfolio.

Verification

The project ships with automated coverage across all three tiers: 492 server tests, 186 client tests and 48 mobile tests, plus strict TypeScript checks and production builds. That is what makes a system with encryption and realtime edge cases maintainable after launch.

Need a chat platform, a community app or an internal messaging system?

and I will scope it with you.

Tell me what you want to build

Gallery

3 screenshots

Technologies

ReactTypeScriptRedux ToolkitNode.jsExpressMongoDBRedisSocket.IOReact NativeExpoTailwind CSSVitest

Next step

Got a project in mind?

I'm available for freelance and contract work. Let's discuss what you're building.