How yazvip/mutasihub works
MutasiHub aggregates read-only DANA and BCA account mutations for business payment monitoring and reconciliation. Members register or sign in, connect their own accounts, then inspect mutations and optionally use API keys, notifications, or Enterprise callbacks; admins manage members, plans, provider operations, settings, and email. The README describes backend capabilities whose implementations were not sampled; those relationships are cited to the README rather than inferred from filenames. The source excerpts and index support the frontend API calls and selected page-to-client dependencies.
Main entry points: api.ts HTTP API client · server.go HTTP server and routes · db.go MySQL and migrations · page.tsx Landing and pricing
Components 27
Web experience
- Landing and pricing
frontend/app/page.tsx - Auth presentation
frontend/components/auth-shell.tsx - HTTP API client
frontend/lib/api.ts - Brand settings
frontend/lib/settings.tsx - Plan and mutation formatting
frontend/lib/format.ts
Identity and accounts
- Login and registration
frontend/app/login/page.tsx - HTTP server and routes
backend/internal/http/server.go - Authentication handlers
backend/internal/http/auth_handlers.go - Auth and MFA
backend/internal/auth/auth.go - Backend startup
backend/cmd/server/main.go
Mutation operations
- Connected accounts
frontend/app/member/accounts/page.tsx - Member dashboard
frontend/app/member/dashboard/page.tsx - Keys and callbacks
frontend/app/member/api/page.tsx - Account inquiry
frontend/app/member/playground/page.tsx - Member handlers
backend/internal/http/member_handlers.go - Inquiry handlers
backend/internal/http/inquiry_handlers.go - Provider webhooks
backend/internal/http/webhooks.go - Mutation polling
backend/internal/sync/sync.go - Enterprise callbacks
backend/internal/sync/callback.go - Connecta client
backend/internal/connecta/client.go
Platform management
- Plans and billing
frontend/app/member/subscription/page.tsx - Admin handlers
backend/internal/http/admin_handlers.go - MySQL and migrations
backend/internal/db/db.go - Email delivery
backend/internal/mail/mailketing.go
Other components
- Member or admin
- Connecta service
- Business integration
Connections 32
- Member or admin → Landing and pricing: browses
README.md - Member or admin → Login and registration: signs in
README.md - Landing and pricing → HTTP API client: loads plans
frontend/app/page.tsx - Landing and pricing → Brand settings: reads brand
frontend/app/page.tsx - Login and registration → Auth presentation: renders
frontend/app/login/page.tsx - Login and registration → HTTP API client: requests auth
frontend/app/login/page.tsx - Connected accounts → HTTP API client: manages accounts
frontend/app/member/accounts/page.tsx - Connected accounts → HTTP API client: loads plans
frontend/app/member/accounts/page.tsx - Member dashboard → HTTP API client: loads dashboard
frontend/app/member/dashboard/page.tsx - Keys and callbacks → HTTP API client: manages keys
frontend/app/member/api/page.tsx - Plans and billing → HTTP API client: manages subscription
frontend/app/member/subscription/page.tsx - Account inquiry → HTTP API client: submits inquiry
frontend/app/member/playground/page.tsx - HTTP API client → HTTP server and routes: calls endpoints
README.md - HTTP server and routes → Authentication handlers: routes auth
README.md - HTTP server and routes → Member handlers: routes member
README.md - HTTP server and routes → Admin handlers: routes admin
README.md - HTTP server and routes → Inquiry handlers: routes inquiry
README.md - HTTP server and routes → Provider webhooks: routes callbacks
README.md - Authentication handlers → Auth and MFA: uses
README.md - Member handlers → MySQL and migrations: reads and writes
README.md - Admin handlers → MySQL and migrations: manages records
README.md - Admin handlers → Email delivery: configures email
- Inquiry handlers → Connecta client: requests inquiry
- Mutation polling → Connecta client: polls mutations
README.md - Connecta client → Connecta service: calls provider
README.md - Connecta service → Provider webhooks: sends events
README.md - Provider webhooks → MySQL and migrations: records events
- Mutation polling → MySQL and migrations: stores mutations
- Enterprise callbacks → Business integration: notifies mutations
README.md - Backend startup → HTTP server and routes: starts
README.md - Plans and billing → HTTP API client: requests billing
frontend/app/member/subscription/page.tsx - Brand settings → HTTP API client: loads settings
frontend/lib/settings.tsx