All projects
2026Full Stack

Social App

PersonalOSS

Overview

An Instagram-style social app -- feed, posts, likes, comments, bookmarks, follows and profiles -- with JWT access/refresh auth, plus end-to-end encrypted direct messaging through a native SimpleX bridge in an Expo development build. The API is Express and TypeScript over PostgreSQL with Prisma and MinIO storage; the client is Expo SDK 57 and React Native 0.86 with Expo Router.

Role

Solo -- personal MVP

Challenges

Two systems with different security models had to meet in one app. The social half is a conventional REST backend. The chat half is SimpleX, which exposes its core only as a compiled Haskell library and a slash-command wire protocol -- there is no JavaScript API to call. Encrypted post captions and comment bodies add a second problem: a content key has to be wrapped for every viewer who should be able to read them, or the post is unreadable to the people it was shared with. The custom native module also rules out Expo Go, so every install is a development build.

Solutions

The backend is a layered Express and TypeScript API over PostgreSQL with a multi-file Prisma schema, cursor-paginated feeds, Zod validation at the request boundary, Helmet, rate limiting, pino logging and MinIO for media. Auth uses short-lived JWT access tokens plus rotating 30-day refresh tokens stored hashed, so individual sessions can be revoked. For the bridge, SimpleX's libsimplex and libsupport are bundled from the official APK and exposed through a Kotlin CoreKt JNI proxy and an Expo Modules bridge; the JS side wraps every slash command in a service layer, parses incoming ChatEvent payloads and renders them in a native chat UI. E2EE captions and comments use per-viewer wrapped content keys with tweetnacl on the client. Session hardening, EXIF-stripped uploads, mute and read receipts sit on top. Source is public under AGPL-3.0.

Built with

core
Expo SDK 57
Expo Router
TanStack Query
Node.js
Express
PostgreSQL
React Native
TypeScript
Zustand

15 in this project · 9 on the orbit, the rest listed alongside