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.
32 lines
819 B
Markdown
32 lines
819 B
Markdown
# quotesdb-api
|
|
|
|
Rust/Axum backend for the quotesdb quotes service, deployed as a Cloudflare Worker.
|
|
|
|
## What
|
|
|
|
A JSON REST API for creating, browsing, and managing quotes. Each quote is identified by a NanoID and protected by a 4-word passphrase auth code.
|
|
|
|
## How
|
|
|
|
Built with Axum on Tokio, targeting Cloudflare Workers via `workers-rs`. Data is stored in Cloudflare D1 (SQLite-compatible) in production and Turso file-backed SQLite locally. Queries use SQLx.
|
|
|
|
## Run
|
|
|
|
```sh
|
|
cargo run
|
|
```
|
|
|
|
## Test
|
|
|
|
```sh
|
|
cargo fmt && cargo check && cargo clippy && cargo test
|
|
```
|
|
|
|
## License
|
|
|
|
Licensed under either of [Apache License, Version 2.0](../../LICENSE-APACHE) or [MIT License](../../LICENSE-MIT) at your option.
|
|
|
|
## Disclaimer
|
|
|
|
This software was written with [Claude Code](https://claude.ai/claude-code) (claude-sonnet-4-6).
|