church-api/src/lib.rs
Benjamin Slingo 6bee94c311 Apply DRY/KISS: Replace db wrapper layer with shared SQL functions
- 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
2025-08-29 09:02:05 -04:00

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::*;