
- Create sql:: module with raw SQL queries (no business logic) - Services now call sql:: functions + handle conversion logic only - Eliminate SQL duplication across V1/V2 service methods - Remove redundant db:: wrapper functions for bulletins, bible_verses, schedule - Clean Handler → Service → Shared SQL → DB architecture - Maintain API compatibility, zero downtime
18 lines
278 B
Rust
18 lines
278 B
Rust
pub mod services;
|
|
pub mod error;
|
|
pub mod models;
|
|
pub mod utils;
|
|
pub mod handlers;
|
|
pub mod db;
|
|
pub mod sql;
|
|
pub mod auth;
|
|
pub mod email;
|
|
pub mod upload;
|
|
pub mod recurring;
|
|
pub mod app_state;
|
|
|
|
pub use app_state::AppState;
|
|
|
|
pub use services::*;
|
|
pub use error::*;
|
|
pub use models::*; |