Mosaic📔

服务端

Mosaic Rust 后端概述

服务端

基于 RustActix WebPostgreSQL 构建。

技术栈

  • Web 框架: Actix Web
  • 数据库 ORM: SQLx
  • 数据库: PostgreSQL + pgvector
  • 认证: JWT (access + refresh token)

项目结构

server/
├── src/           # 服务端源码
├── migrations/    # SQL 迁移
└── admin-ui/      # 管理后台 (Vite + React)

API 端点

端点说明
/api/auth/login登录
/api/memos笔记 CRUD
/api/diaries日记管理
/api/botsBot 配置

On this page