use axum::Router;
use axum::routing::get;
use sqlx::SqlitePool;
use crate::api::handlers;

pub fn routes() -> Router<SqlitePool> {
    Router::new()
        .route("/articles", get(handlers::get_articles))
        .route("/summaries", get(handlers::get_summaries))
    // Add more routes as needed
}
