managarten/services/mana-search-go
Till JS e7a8567e61 feat(services): create mana-subscriptions, remove from mana-core-auth
Extract subscription billing into standalone mana-subscriptions service
(Hono + Bun, Port 3063). Also removes Stripe module from mana-core-auth
since subscription webhooks are the last consumer.

New service (services/mana-subscriptions/):
- Plans CRUD, subscription management, Stripe Checkout + Portal
- Invoice tracking, webhook handlers for sub/invoice events
- Internal API for plan limits (consumed by guilds service)
- ~990 LOC (vs ~1,700 in NestJS incl. Stripe module)

Removed from mana-core-auth:
- subscriptions/ module (6 files)
- stripe/ module (4 files) — no longer needed in auth
- db/schema/subscriptions.schema.ts
- guilds.service.ts: replaced direct DB plan limit query with
  HTTP call to mana-subscriptions internal API

mana-core-auth now contains only:
- Auth (Better Auth, JWT, Sessions, 2FA, Passkeys, OIDC)
- Organizations/Guilds (membership only, no credits/plans)
- API Keys, Security, Me (GDPR), Health, Metrics
- Feedback + Analytics (next extraction target)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 02:11:42 +01:00
..
cmd/server fix(mana-search): Go best practices hardening 2026-03-27 22:09:31 +01:00
internal fix(mana-search): Go best practices hardening 2026-03-27 22:09:31 +01:00
searxng feat(services): create mana-subscriptions, remove from mana-core-auth 2026-03-28 02:11:42 +01:00
.gitignore feat(mana-search): rewrite search service from NestJS to Go 2026-03-27 21:58:40 +01:00
CLAUDE.md feat(mana-search): rewrite search service from NestJS to Go 2026-03-27 21:58:40 +01:00
docker-compose.dev.yml feat(services): create mana-subscriptions, remove from mana-core-auth 2026-03-28 02:11:42 +01:00
Dockerfile fix(mana-search): Go best practices hardening 2026-03-27 22:09:31 +01:00
go.mod feat(mana-search): rewrite search service from NestJS to Go 2026-03-27 21:58:40 +01:00
go.sum feat(mana-search): rewrite search service from NestJS to Go 2026-03-27 21:58:40 +01:00
package.json feat(mana-search): rewrite search service from NestJS to Go 2026-03-27 21:58:40 +01:00