BAL Backend written in rust
Find a file
Ninjdai 7d574fdef2
All checks were successful
/ test (push) Successful in 4m40s
chore: update changelog
2026-04-05 10:17:25 +02:00
.forgejo/workflows revert clippy checks in ci 2026-02-12 15:02:14 +01:00
alexandria remove native-tls dependency as it isn't used for sqlite databases 2026-04-05 09:47:24 +02:00
alexandria-auth panic on wrong size of JWT_SECRET 2026-04-01 11:22:25 +02:00
alexandria-entities remove native-tls dependency as it isn't used for sqlite databases 2026-04-05 09:47:24 +02:00
alexandria-utils fix tests 2026-03-28 14:15:02 +01:00
scripts refactor: switch from jsonwebtoken to josekit to use JWEs 2026-02-14 18:02:54 +01:00
.gitignore feat: initial API and docs 2025-07-30 16:55:07 +02:00
Cargo.lock chore: bump version 2026-04-05 10:15:54 +02:00
Cargo.toml chore: bump version 2026-04-05 10:15:54 +02:00
CHANGELOG.md chore: update changelog 2026-04-05 10:17:25 +02:00
cliff.toml feat(docs): add Changelog 2026-04-05 10:07:33 +02:00
LICENSE.md add license 2025-08-25 20:51:30 +02:00
README.md add README 2026-04-05 09:26:28 +02:00

Alexandria

Alexandria is the backend for Seshat, written in Rust using axum and sea-orm.

Usage

Build:

cargo build --profile <dev/release/prod>

Run:

JWT_SECRET="this_is_a_32_bytes_secret_____" /path/to/alexandria -d /path/to/alexandria.db -p <port>

This serves both the api at the root and its documentation at /docs

Create/modify/delete accounts:

/path/to/alexandria --user -d /path/to/alexandria.db

Selfhosting:

Alexandria does not provide https by itself, you should run it behind a proxy that serves https and redirect the traffic. Example caddy config:

bal.ueauvergne.fr {
    reverse_proxy :3000
}

In Seshat, users can go to settings and modify the backend's URL to whichever backend they want.