MosaicπŸ“”

Architecture

Mosaic system architecture overview

Architecture

Mosaic follows a client-server monorepo structure.

Directory Structure

Mosaic/
β”œβ”€β”€ mobile/    # Expo React Native app
β”œβ”€β”€ server-go/ # Go backend (production)
β”œβ”€β”€ server/    # Rust backend (reference implementation) + shared admin UI
β”œβ”€β”€ packages/  # Shared TypeScript packages
└── docsite/   # This documentation

Technology Stack

LayerTechnology
MobileExpo (React Native) + TypeScript
ServerGo + chi + pgx
Reference serverRust + Actix Web + SQLx
DatabasePostgreSQL + pgvector
Package ManagerBun
Build OrchestrationTurborepo

The Go server in server-go/ is the deployed backend. It is a drop-in replacement for the Rust server: same schema, same storage/ layout, same HTTP contract, and the same admin UI build.

On this page