managarten/services
Till JS 15deaf4e0a feat(services): create mana-credits service (Hono + Bun)
Extract the credit system from mana-core-auth into a standalone service.
Uses Hono framework on Bun runtime instead of NestJS.

Service includes:
- Personal credit balance with optimistic locking
- Immutable transaction ledger
- Stripe payment integration (PaymentIntents, Checkout Sessions)
- Guild shared pools with per-member spending limits
- Gift code system (simple, personalized, split, first_come, riddle)
- Service-to-service internal API (X-Service-Key auth)
- JWT validation via JWKS from mana-core-auth (jose library)

Architecture:
- 27 files, ~2.2k LOC (vs ~4.1k in NestJS)
- Drizzle ORM schemas adapted for standalone DB (no FK to auth tables)
- Zod validation instead of class-validator
- Manual service instantiation instead of NestJS DI
- Hono middleware for JWT + service key auth

Port: 3060
Database: mana_credits (separate from mana_auth)

Next steps: Update CreditClientService URL, update mana-core-auth
registration hooks, configure Docker + Cloudflare Tunnel.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-27 22:08:43 +01:00
..
it-landing feat: add it.mana.how landing page for European tech sovereignty 2026-03-24 10:04:59 +01:00
mana-api-gateway-go feat(infra): consolidate 21 Matrix bots into Go binary + add Go API gateway 2026-03-27 21:03:00 +01:00
mana-core-auth fix(auth): add GuildPoolService mock to credits unit tests 2026-03-27 12:21:37 +01:00
mana-crawler feat(games): add whopixels hosting at whopxl.mana.how 2026-03-20 19:57:50 +01:00
mana-credits feat(services): create mana-credits service (Hono + Bun) 2026-03-27 22:08:43 +01:00
mana-image-gen fix(mana-notify): resolve BullMQ circular import issue 2026-01-29 22:58:47 +01:00
mana-landing-builder fix(landing-builder): rework Dockerfile to copy workspace directly 2026-03-23 13:50:22 +01:00
mana-llm feat(mana-llm): add Google Gemini fallback provider with auto-routing 2026-03-23 22:44:09 +01:00
mana-matrix-bot feat(infra): consolidate 21 Matrix bots into Go binary + add Go API gateway 2026-03-27 21:03:00 +01:00
mana-media fix(mana-media): use prom-client directly instead of shared metrics package 2026-03-23 11:06:09 +01:00
mana-notify feat(infra): extend Dockerfile validator to backends and services 2026-03-25 08:57:10 +01:00
mana-search fix: replace all manacore.app URLs with mana.how 2026-03-22 18:40:37 +01:00
mana-search-go feat(mana-search): rewrite search service from NestJS to Go 2026-03-27 21:58:40 +01:00
mana-stt feat(gpu-server): complete GPU server setup with AI services, monitoring, and public access 2026-03-27 21:35:30 +01:00
mana-sync fix(mana-sync): correct JWKS URL to /api/auth/jwks 2026-03-27 11:38:00 +01:00
mana-tts 📝 docs(tts): document German voice support (Piper/Kerstin) 2026-02-14 12:21:40 +01:00
mana-voice-bot feat(mana-voice-bot): add German voice-to-voice assistant service 2026-02-01 02:21:13 +01:00
ollama-metrics-proxy feat(telegram-bot): add local STT support and Prometheus metrics 2026-01-27 16:51:09 +01:00