How inkithai/bookwise works
BookWise is a multi-tenant accounting and bookkeeping SaaS. Users authenticate, verify email, and work within an organisation; they can then manage invoices, books, banking, expenses, and bills, with financial statements reporting posted ledger activity. The README documents the ledger integrations and tenant boundary; sampled source confirms authentication setup, tenant middleware, and custom CRM handling. Several README-described modules are represented at their directory level because their implementation was not sampled.
Main entry points: Accounting General ledger · AuthService.php Auth service · AuthController.php Authentication · ResolveTenant.php Tenant boundary
Components 19
Identity & tenancy
- Authentication
be/Modules/User/Http/Controllers/API/AuthController.php - Auth service
be/Modules/User/Services/AuthService.php - Tenant boundary
be/app/Http/Middleware/ResolveTenant.php - Organisation
be/app/Models/Host.php - User profile
be/app/Models/User.php - User response
be/Modules/User/Http/Resources/UserResource.php - Roles & permissions
be/Modules/Role/Http/Controllers/API/RoleController.php - Subscriptions
be/Modules/User/Http/Controllers/API/UserSubscriptionController.php
Books & reporting
- General ledger
be/Modules/Accounting - Banking
be/Modules/Banking - Expenses
be/Modules/Expenses - Accounts payable
be/Modules/Purchases - Financial statements
be/Modules/Accounting/Services/FinancialStatementService.php
Business operations
- Invoicing
be/Modules/Invoice/Http/Controllers/API/InvoiceController.php
Workspace features
- Custom CRM
be/Modules/CustomCRM/Http/Controllers/API/CustomTableController.php - Analytics
be/Modules/Analytics - Admin analytics
be/Modules/AdminAnalytics - Accounting workspace
fe/src/app/accounting/page.tsx
Other components
- User
Connections 19
- User → Authentication: authenticates
be/Modules/User/Http/Controllers/API/AuthController.php - Authentication → Auth service: delegates to
be/Modules/User/Http/Controllers/API/AuthController.php - Auth service → Organisation: creates organisation
be/Modules/User/Services/AuthService.php - Auth service → User profile: links user
be/Modules/User/Services/AuthService.php - Auth service → User response: returns profile
be/Modules/User/Services/AuthService.php - User → Accounting workspace: uses workspace
README.md - Accounting workspace → General ledger: requests accounting
README.md - General ledger → Tenant boundary: scopes records
README.md - Tenant boundary → Organisation: resolves tenant
be/app/Models/Host.php - Invoicing → General ledger: posts invoices
README.md - Banking → General ledger: posts movements
README.md - Accounts payable → General ledger: posts payments
README.md - Expenses → General ledger: captures overhead
README.md - General ledger → Financial statements: computes reports
README.md - User → Custom CRM: manages records
be/Modules/CustomCRM/Http/Controllers/API/CustomTableController.php - User → Analytics: views analytics
README.md - User → Admin analytics: views admin metrics
README.md - User → Roles & permissions: manages access
README.md - User → Subscriptions: manages plan
README.md