Files
imphnen-backend-service/src/apps/v1/auth/mod.rs
T

14 lines
281 B
Rust
Raw Normal View History

2025-02-08 00:58:54 +07:00
use axum::{routing::post, Router};
2025-02-03 21:53:42 +07:00
pub mod auth_controller;
2025-02-07 22:26:32 +07:00
pub mod auth_dto;
2025-02-03 21:53:42 +07:00
pub mod auth_middleware;
pub mod auth_repository;
2025-02-08 00:58:54 +07:00
pub use auth_dto::*;
pub use auth_repository::*;
pub fn auth_router() -> Router {
Router::new().route("/login", post(auth_controller::post_login))
}