feat: initial commit

Axum/Postgres server with auth, migrations, and Docker setup.
This commit is contained in:
2026-08-13 13:08:13 +02:00
commit 9617f4415c
33 changed files with 3974 additions and 0 deletions

17
src/handlers/mod.rs Normal file
View File

@@ -0,0 +1,17 @@
use axum::http::StatusCode;
pub mod attachment;
pub mod auth;
pub mod auth_token;
pub mod conversation;
pub mod conversation_member;
pub mod message;
pub mod reaction;
pub mod user;
pub mod workspace;
pub mod workspace_invitation;
pub mod workspace_member;
pub(crate) fn db_err(e: sqlx::Error) -> (StatusCode, String) {
(StatusCode::INTERNAL_SERVER_ERROR, e.to_string())
}