Expand description
GraphQL service layer for the animedb catalog crate.
This crate exposes:
- a reusable GraphQL schema builder via
build_schema - an Axum router via
build_router - a binary entry point in
main.rsfor running the service directly
Structs§
- AppState
- Shared application state injected into the GraphQL schema.
- Mutation
Root - Query
Root
Functions§
- build_
router - Builds the Axum router that serves Playground, GraphQL, and health endpoints.
- build_
schema - Builds the GraphQL schema backed by one SQLite database path.