Run it

from the repository rootsh
cargo run --manifest-path examples/handbook-notes/Cargo.toml

The API listens on http://127.0.0.1:3012:

sh
curl -i -X POST http://127.0.0.1:3012/notes \
  -H 'content-type: application/json' \
  -d '{"text": "buy milk"}'

Notes

  • Notes live in memory, so they are gone when the process exits — by design.
  • The workspace is its own Cargo workspace; run its commands with --manifest-path from the repository root.