Can create a movement

This commit is contained in:
2025-04-15 22:39:42 +02:00
parent 5a51dee8b0
commit b4cf6624f7
9 changed files with 160 additions and 0 deletions

@ -129,6 +129,8 @@ async fn main() -> std::io::Result<()> {
"/api/file/{file_id}",
web::delete().to(files_controller::delete),
)
// Movement controller
.route("/api/movement", web::post().to(movement_controller::create))
// Static assets
.route("/", web::get().to(static_controller::root_index))
.route(