+1
.gitignore
+1
.gitignore
+61
-74
Cargo.lock
+61
-74
Cargo.lock
······················································
······················································
+2
-1
Cargo.toml
+2
-1
Cargo.toml
···-sqlx = { version = "0.8", features = ["runtime-tokio-native-tls", "postgres", "uuid", "chrono"] }···
···+sqlx = { version = "0.8", features = ["runtime-tokio-native-tls", "postgres", "sqlite", "chrono"] }···
+1
-1
README.md
+1
-1
README.md
+14
-11
frontend/index.html
+14
-11
frontend/index.html
···
···
+14
frontend/src/api/client.ts
+14
frontend/src/api/client.ts
···
+10
frontend/src/context/AuthContext.tsx
+10
frontend/src/context/AuthContext.tsx
···
+42
migrations/sqlite/20250125000000_init.sql
+42
migrations/sqlite/20250125000000_init.sql
···
···
+433
-152
src/handlers.rs
+433
-152
src/handlers.rs
····································
····································
+86
-8
src/lib.rs
+86
-8
src/lib.rs
······-pub async fn check_and_generate_admin_token(pool: &sqlx::PgPool) -> anyhow::Result<Option<String>> {
······+pub async fn check_and_generate_admin_token(db: &DatabasePool) -> anyhow::Result<Option<String>> {
+3
-12
src/main.rs
+3
-12
src/main.rs
······
······
+74
-2
src/models.rs
+74
-2
src/models.rs
···