simple Log In endpoint without encryption

This commit is contained in:
2025-09-22 23:58:07 +02:00
parent 3450c216c0
commit 007071cf12
14 changed files with 680 additions and 60 deletions

View File

@@ -4,14 +4,18 @@ use axum::{
};
use crate::rooms::handler::*;
use crate::utils::db_pool::HotelPools;
use crate::utils::db_pool::{
HotelPool,
AppState,
};
// ROOTS
pub fn rooms_routes() -> Router<HotelPools> {
pub fn rooms_routes() -> Router {
Router::new()
.route("/", get(hello_rooms) )
.route("/fakeUpdate/{room_id}", put(fake_room_update))
.route("/fake_db_update/{room_id}", put(fake_db_update))
}