§auth Routes Module
This module defines and wires up routes for the /auth
endpoint group.
§Structure
post.rs
— POST handlers (e.g., register)
get.rs
— GET handlers (e.g., current user info)
§Usage
The auth_routes()
function returns a Router
which is nested under /auth
in the main application.