messaging-center/cmd
Johan Jongsma 34e06fed8e v0.1: Foundation
- Go module with chi router, sqlite3, uuid deps
- Directory structure per spec
- SQLite store with embedded migrations
- Core types: Message, Attachment, Command, Contact, Channel
- REST API:
  - GET /health, GET /ready (no auth)
  - POST /oauth/token (client_credentials grant)
  - GET /api/v1/messages (list with filters)
  - GET /api/v1/messages/:id
  - POST /api/v1/messages (stub, creates pending)
  - POST /api/v1/commands (stub, creates pending)
  - GET /api/v1/channels (stub, lists configured)
- OAuth 2.0 with Bearer token validation
- YAML config with env var expansion (supports ${VAR:-default})
- Ready for v0.2 (email adapter)
2026-02-02 21:34:34 +00:00
..
mc v0.1: Foundation 2026-02-02 21:34:34 +00:00