Development architectureΒΆ

The Go module is rtcord-v81 and targets Go 1.26.5. The standard net/http default mux is used; route registration remains in main.go. Handlers use database/sql with MySQL ? placeholders and UUID strings. Passwords are bcrypt hashes.

Keep transport concerns in handlers/, shared domain types in types/, startup and runtime wiring in main.go, and browser source in site/. When adding an endpoint, update the route registration, its domain handler, API.md, and the matching RST page.