MosaicπŸ“”

Server

Mosaic Rust backend overview

Server

The Mosaic server is built with Rust, Actix Web, and PostgreSQL.

Tech Stack

  • Web Framework: Actix Web
  • Database ORM: SQLx
  • Database: PostgreSQL + pgvector
  • Auth: JWT (access + refresh tokens)

Project Structure

server/
β”œβ”€β”€ src/           # Server source code
β”œβ”€β”€ migrations/    # SQL migrations
└── admin-ui/      # Admin dashboard (Vite + React)

API Endpoints

EndpointDescription
/api/auth/loginUser login
/api/memosMemo CRUD
/api/diariesDiary management
/api/botsBot configuration

On this page