906f05f62f
- Backend: ts-rs ile DTO'lardan TypeScript tipleri (frontend/src/types, npm run types) - Hata ve health yanıtları tipli yapılara çevrildi - lib/api.ts: tek API istemcisi, Türkçe ApiError, ağ hatası mesajı - lib/query.ts: QueryClient (4xx tekrar denenmez, 401 → oturum kapanır) - lib/auth.ts: useMe, useLogin, useRegister, useLogout - Vitest: 7 API istemcisi testi (toplam 29) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
27 lines
782 B
TOML
27 lines
782 B
TOML
[package]
|
|
name = "kakeibo"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
argon2 = "0.6.0"
|
|
axum = "0.8.9"
|
|
axum-extra = { version = "0.12.6", features = ["cookie"] }
|
|
dotenvy = "0.15.7"
|
|
jsonwebtoken = { version = "11.1.0", default-features = false, features = ["rust_crypto"] }
|
|
mongodb = "3.10.0"
|
|
serde = { version = "1.0.229", features = ["derive"] }
|
|
serde_json = "1.0.154"
|
|
thiserror = "2.0.21"
|
|
time = "0.3.55"
|
|
tokio = { version = "1.54.1", features = ["full"] }
|
|
tracing = "0.1.44"
|
|
tracing-subscriber = { version = "0.3.23", features = ["env-filter"] }
|
|
ts-rs = "12.0.1"
|
|
uuid = { version = "1.29.2", features = ["v4", "v7"] }
|
|
validator = { version = "0.21.0", features = ["derive"] }
|
|
|
|
[dev-dependencies]
|
|
http-body-util = "0.1.5"
|
|
tower = { version = "0.5.3", features = ["util"] }
|