2024-09-29 09:57:02 -04:00
|
|
|
use axum::{routing::post, Router};
|
|
|
|
use create::user_registration_post_handler;
|
2024-08-06 11:08:15 -04:00
|
|
|
|
|
|
|
use super::AppState;
|
|
|
|
|
2024-09-29 09:57:02 -04:00
|
|
|
pub mod create;
|
2024-08-22 17:29:24 -04:00
|
|
|
// pub mod verify;
|
2024-08-06 11:08:15 -04:00
|
|
|
|
|
|
|
pub fn requests(app_state: AppState) -> Router {
|
2024-09-29 09:57:02 -04:00
|
|
|
Router::new().route(
|
|
|
|
"/user",
|
|
|
|
post(user_registration_post_handler).with_state(app_state.clone()),
|
|
|
|
)
|
2024-08-06 11:08:15 -04:00
|
|
|
}
|