Expand description
Main entry point for the Dogy API server. This module sets up the server, database connection, and routes.
Modulesยง
- config ๐
- error ๐
- This module contains the main error handling for all routes and axum handlers.
- middleware ๐
- service ๐
Structsยง
- AppState ๐
- This is the application state that is shared across all axum handlers.
Enumsยง
- Error
- Main Error Types for all axum handlers.
Functionsยง
- main
- Main function to start the server.
Type Aliasesยง
- Payload
Json - This type is used when you have a JSON request body as it can potentially throw
[
JsonRejection
], which is not handled byserde_json
. - Result
- Boilerplate Result Type from rust-10x style convention. This result type is used by all axum handlers.