- Changed root div ID from 'root' to 'app' in index.html. - Updated package.json to include new dependencies for routing and state management. - Removed App component and replaced it with a router setup in main.tsx. - Added route definitions for login, about, and index pages. - Implemented authentication logic using Zustand for state management. - Created API client with Axios for handling requests and token management. - Added CORS support in the backend API. - Updated schema for login requests to use camelCase.
40 lines
1.2 KiB
TOML
40 lines
1.2 KiB
TOML
[package]
|
|
name = "libertas_api"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
axum = { version = "0.8.6", features = ["multipart"] }
|
|
tokio = { version = "1.48.0", features = ["full"] }
|
|
|
|
libertas_core = { path = "../libertas_core" }
|
|
libertas_infra = { path = "../libertas_infra" }
|
|
serde = { version = "1.0.228", features = ["derive"] }
|
|
sqlx = { version = "0.8.6", features = [
|
|
"runtime-tokio",
|
|
"postgres",
|
|
"uuid",
|
|
"chrono",
|
|
"sqlite",
|
|
] }
|
|
async-trait = "0.1.89"
|
|
chrono = { version = "0.4.42", features = ["serde"] }
|
|
uuid = { version = "1.18.1", features = ["v4", "serde"] }
|
|
anyhow = "1.0.100"
|
|
argon2 = "0.5.3"
|
|
jsonwebtoken = { version = "10.1.0", features = ["rust_crypto"] }
|
|
once_cell = "1.21.3"
|
|
serde_json = "1.0.145"
|
|
headers = "0.4.1"
|
|
axum-extra = { version = "0.12.0", features = ["typed-header"] }
|
|
rand_core = { version = "0.9.3", features = ["std"] }
|
|
sha2 = "0.10.9"
|
|
futures = "0.3.31"
|
|
bytes = "1.10.1"
|
|
async-nats = "0.45.0"
|
|
tower = { version = "0.5.2", features = ["util"] }
|
|
tower-http = { version = "0.6.6", features = ["fs", "trace", "cors"] }
|
|
tracing = "0.1.41"
|
|
tracing-subscriber = { version = "0.3.20", features = ["env-filter"] }
|
|
dbscan = "0.3.1"
|