Commit Graph

11 Commits

Author SHA1 Message Date
7c6724800f [refactor] removed unused api.rs module to streamline code structure 2025-08-20 08:28:36 +02:00
af304266a4 [refactor] removed unused EnvFilter import to clean up dependencies in main.rs 2025-08-07 22:51:33 +02:00
338b3ac7c1 [refactor] abstracted logging initialization and app settings loading into dedicated functions to streamline main.rs and improve code readability 2025-08-06 18:27:39 +02:00
9b805e891a [update] enhanced tracing-subscriber setup with compact JSON logging and environment-based filter for streamlined production logging 2025-08-06 17:43:59 +02:00
78073d27d7 [update] refactored configuration handling with comprehensive ConfigFile structure, added default settings, expanded support for new modules, and enhanced directory creation logic 2025-08-06 16:54:10 +02:00
3a5b0d8f4b [update] added JSON logging support with tracing-subscriber for production, updated dependencies in Cargo.toml and Cargo.lock 2025-08-06 14:02:33 +02:00
f22259b863 added config.toml support for flexible server configuration, integrated toml crate for parsing, refactored configuration management to use AppSettings, and updated database initialization logic 2025-08-05 11:24:59 +02:00
a30f8467bc implemented foundational API routes (/articles, /summaries) using Axum, added graceful shutdown handling, improved database initialization with connection pooling and directory creation, and integrated tracing for logging 2025-08-05 08:59:01 +02:00
79e4d7f1de refactored backend initialization logic: added centralized configuration management, improved database setup with connection pooling, and modularized core components (config, models, services) 2025-08-05 08:02:29 +02:00
bc1735448a removed custom migration logic, integrated sqlx native migrations, and reorganized migration files for clarity and maintainability 2025-08-05 05:00:38 +02:00
86b5f83140 added database migration and initialization logic to backend, including migration loader and async migration runner 2025-08-05 03:16:36 +02:00