Crate backend

Crate backend 

Source

Modulesยง

cookie ๐Ÿ”’
Cookie and JWT authentication utilities This module aggregates and re-exports all cookie-related functionalities, including JWT handling and validation middleware.
env ๐Ÿ”’
Environment configuration loading
handlers ๐Ÿ”’
HTTP request handlers for all endpoints This module aggregates and re-exports all API endpoint handler functions.
models ๐Ÿ”’
Data structures for request/response serialization
router ๐Ÿ”’
Axum router configuration with all routes and middleware

Structsยง

AppState
Shared application state passed to all route handlers.

Functionsยง

main ๐Ÿ”’
Main application entry point.