How viralwechaar-creator/auzslabs-infra works
AUZslab is a self-hosted, multi-tenant suite for shops, salons, and cafes. Customers typically sign up through the website, select products, and pay; the platform provisions a tenant whose users then work in the tenant’s business apps. Those apps use a Node API backed by PostgreSQL, with shared authentication, storage, payments, and realtime services. The README documents the product areas, while sampled server references establish several API-to-service relationships. Many app modules and server subsystems were not sampled, so their internal links are omitted.
Main entry points: index.js Node API · public Tenant apps · storage.js Upload storage · db.js Database access
Components 25
Web and onboarding
- Marketing site
site - Signup and purchase
site
Tenant applications
- Tenant apps
app/public - POS
app/public/pos - Payroll
app/public/payroll - Accounting
app/public/accounts - AUZsMob
app/public/mob - Back office
app/public/console - Salon suite
app/public/salon/admin/admin.js
API and identity
- Node API
server/src/index.js - Authentication
server/src/auth.js - Two-factor auth
server/src/totp.js - Tenant app identity
server/src/appicon.js
Business services
- Payment handling
server/src/payments.js - Cashfree integration
server/src/cashfree.js - Email service
server/src/mail.js - Push notifications
server/src/push.js - Realtime service
server/src/realtime.js - Salon endpoints
server/src/salon.js - Salon data engine
server/src/salon-engine.js
Persistence and files
- Database access
server/src/db.js - PostgreSQL
- Upload storage
server/src/storage.js - S3 adapter
server/src/s3.js
Other components
- Prospective customer
Connections 31
- Prospective customer → Marketing site: visits
README.md - Marketing site → Signup and purchase: starts signup
README.md - Signup and purchase → Node API: provisions tenant
README.md - Tenant apps → POS: uses
README.md - Tenant apps → Payroll: uses
README.md - Tenant apps → Accounting: uses
README.md - Tenant apps → AUZsMob: uses
README.md - Tenant apps → Back office: uses
README.md - Tenant apps → Salon suite: uses
README.md - POS → Node API: calls
- Payroll → Node API: calls
- Accounting → Node API: calls
- AUZsMob → Node API: calls
- Back office → Node API: calls
- Salon suite → Node API: calls
- Node API → Authentication: delegates auth
server/src/index.js - Authentication → Two-factor auth: uses
server/src/auth.js - Node API → Tenant app identity: resolves app identity
server/src/index.js - Node API → Payment handling: dispatches payments
server/src/index.js - Node API → Cashfree integration: dispatches payments
server/src/index.js - Cashfree integration → Payment handling: uses
server/src/cashfree.js - Node API → Email service: dispatches email
server/src/index.js - Node API → Push notifications: dispatches notifications
server/src/index.js - Node API → Realtime service: dispatches realtime
server/src/index.js - Node API → Salon endpoints: routes salon requests
server/src/index.js - Salon endpoints → Salon data engine: uses data engine
- Node API → Database access: queries data
server/src/index.js - Database access → PostgreSQL: reads and writes
server/src/db.js - Node API → Upload storage: handles uploads
server/src/index.js - Upload storage → Database access: queries tenant
server/src/storage.js - Upload storage → S3 adapter: stores files
server/src/storage.js