How basuki-rahmat/global-multi works
Multi Global is a multi-tenant business-application platform: prospective customers choose an application and submit an order, while platform and tenant administrators manage their respective scopes. The visible frontend also exposes admin login/order views and tenant customer-service configuration; the API provides authenticated order administration, password recovery, and AI chat. The excerpts show database, mail, and AI-provider integrations. Frontend and other unsampled routes are represented only at the enclosing module level; the README is empty.
Main entry points: app.js API routes · main.jsx Landing and admin UI · auth.js JWT and role checks · db.js Database pool
Components 13
Web experience
- Landing and admin UI
src/main.jsx
API and access
- API routes
server/src/app.js - JWT and role checks
server/src/middleware/auth.js - Role scopes
server/src/config/roles.js
Platform state
- Database pool
server/src/config/db.js - Platform data
database/schema.sql
External services
- Transactional email
server/src/services/mailer.js - SMTP service
- Customer-service AI
server/src/services/ai.js - Groq and OpenAI
Other components
- Prospective customer
- Platform admin
- Tenant admin
Connections 13
- Prospective customer → Landing and admin UI: browses and orders
- Platform admin → Landing and admin UI: manages platform
- Tenant admin → Landing and admin UI: manages tenant
- Landing and admin UI → API routes: sends API requests
- API routes → Landing and admin UI: returns results
- API routes → JWT and role checks: checks access
- JWT and role checks → Role scopes: checks role
- API routes → Database pool: queries and updates
- Database pool → Platform data: reads and writes
- API routes → Transactional email: sends order and reset mail
- Transactional email → SMTP service: delivers mail
- API routes → Customer-service AI: requests chat reply
- Customer-service AI → Groq and OpenAI: requests completion