chore: setup libs and utils

This commit is contained in:
Maulana Sodiqin
2025-02-07 22:26:32 +07:00
parent 8a5a051e7a
commit c637a356eb
24 changed files with 2935 additions and 41 deletions
+8
View File
@@ -1,2 +1,10 @@
use axum::{routing::get, Router};
pub mod v1;
pub mod v2;
pub async fn apps() -> Router {
let v1_routes = Router::new().route("/", get(|| async { "Comming Soon v1" }));
let v2_routes = Router::new().route("/", get(|| async { "Comming Soon v2" }));
Router::new().nest("/v1", v1_routes).nest("/v2", v2_routes)
}
+1 -6
View File
@@ -1,9 +1,4 @@
pub mod auth_controller;
pub mod auth_dto;
pub mod auth_middleware;
pub mod auth_model;
pub mod auth_repository;
pub use auth_controller::*;
pub use auth_middleware::*;
pub use auth_model::*;
pub use auth_repository::*;