router assembles the public HTTP surface and the middleware stack that makes the rest of the crate coherent.
- route registration
- middleware layering for tracing, request context, cookies, auth, sessions, and static assets
- app state and session store wiring into the axum router
- routes.rs for path-to-handler mapping
- layers.rs for middleware and session/auth setup
- mod.rs for the public router entrypoint
A lot of the portfolio's quality proof lives here: secure session behavior, predictable request context, and a readable composition root instead of hidden framework magic.