movie detail page + importer architecture fix

This commit is contained in:
2026-05-10 23:59:26 +02:00
parent f2f1317660
commit b2a2aa4262
49 changed files with 1670 additions and 264 deletions

View File

@@ -50,6 +50,10 @@ fn html_routes(rate_limit: u64) -> Router<AppState> {
"/users/{id}",
routing::get(handlers::html::get_user_profile),
)
.route(
"/movies/{movie_id}",
routing::get(handlers::html::get_movie_detail),
)
.merge(auth)
.route(
"/reviews/new",
@@ -131,6 +135,10 @@ fn api_routes(rate_limit: u64) -> Router<AppState> {
"/movies/{id}/history",
routing::get(handlers::api::get_review_history),
)
.route(
"/movies/{id}",
routing::get(handlers::api::get_movie_detail),
)
.route("/reviews", routing::post(handlers::api::post_review))
.route(
"/reviews/{id}",