chore: setup libs and utils
This commit is contained in:
1 parent
8a5a051e7a
commit
c637a356eb
24 files changed
+2935
-41
No files matched your search
@@ -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)
|
||||
}
|
||||
File renamed without changes.
@@ -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::*;
|
||||
Reference in new issue
Block a user