You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.9 KiB
1.9 KiB
| title | status | type | priority | created_at | updated_at | blocked_by | |||
|---|---|---|---|---|---|---|---|---|---|
| Implement GET /api/quotes/random — random row query (must be registered before /:id route) | completed | task | normal | 2026-03-10T23:32:06Z | 2026-03-10T23:32:13Z |
|
Shared types and utilities are in src/lib.rs — code placed there must compile for both the host target and wasm32-unknown-unknown.
GET /api/quotes/random returns a single random quote from the database. This endpoint must be registered before GET /api/quotes/:id in the Axum router, or it will never be reached (Axum matches in registration order and ":id" would match the literal string "random").
cargo fmt
cargo check
cargo clippy
cargo test
`feat(quotesdb): implement GET /api/quotes/random`