get all room endpoint + clean fil structure

This commit is contained in:
2025-09-26 05:40:13 +02:00
parent 91ae1e4e75
commit 32fe134743
7 changed files with 102 additions and 24 deletions

View File

@@ -18,4 +18,5 @@ pub fn rooms_routes() -> Router<AppState> {
.route("/", get(hello_rooms) )
.route("/fakeUpdate/{room_id}", put(fake_room_update))
.route("/clean_db_update/{room_id}", put(clean_db_update))
.route("/rooms", get(get_all_rooms))
}