feat: auth login

This commit is contained in:
Maulana Sodiqin
2025-02-08 00:58:54 +07:00
parent c637a356eb
commit ffc72367d5
6 changed files with 44 additions and 3 deletions
+9
View File
@@ -1,4 +1,13 @@
use axum::{routing::post, Router};
pub mod auth_controller;
pub mod auth_dto;
pub mod auth_middleware;
pub mod auth_repository;
pub use auth_dto::*;
pub use auth_repository::*;
pub fn auth_router() -> Router {
Router::new().route("/login", post(auth_controller::post_login))
}