How raktim94/rechvix works
Rechvix is a self-hosted ERP for invoicing, inventory, purchasing, accounting and tax preparation. A typical workflow starts with a user maintaining products and customers, then creating and finalizing a sale; the application records supported stock, tax and accounting effects and exposes reports or accountant exports. The web app uses a typed REST client, while the phone app can save sales locally and synchronize them to a server. The README documents many additional opt-in business capabilities. Some server wiring is unsampled, so those relationships are shown only where documented.
Main entry points: main.go REST server · service.go Sales and invoices · app.tsx Mobile state · engine.ts Sync engine
Components 21
Web application
- Web workspace
apps/web/src/router.tsx - Web API client
apps/web/src/lib/api-client.ts
Mobile application
- Mobile app
apps/mobile/App.tsx - Mobile state
apps/mobile/src/state/app.tsx - Offline records
apps/mobile/src/db/repo.ts - Sync engine
apps/mobile/src/sync/engine.ts
Business services
- Identity and access
internal/modules/identity/httpapi/handlers.go - Organisation setup
internal/modules/organisation/app/service.go - Catalogue
internal/modules/catalogue/app/service.go - Sales and invoices
internal/modules/sales/app/service.go - Inventory
internal/modules/inventory/app/service.go - Purchasing
internal/modules/purchases/app/service.go - Accounting
internal/modules/accounting/app/service.go - Tax preparation
internal/modules/gstindia/engine.go - Reports and exports
internal/modules/reporting/app/service.go - CRM and field service
internal/modules/crm/crm.go - Business extensions
internal/modules/onlinepay/service.go
Platform and integrations
- REST server
apps/server/main.go - PostgreSQL
internal/platform/database/database.go
Other components
- Business user
- Optional providers
Connections 27
- Business user → Web workspace: uses
README.md - Web workspace → Web API client: requests data
apps/web/src/lib/api-client.ts - Web API client → REST server: calls REST API
apps/web/src/lib/api-client.ts - Business user → Mobile app: uses
README.md - Mobile app → Mobile state: renders through
apps/mobile/App.tsx - Mobile state → Offline records: stores records
apps/mobile/src/state/app.tsx - Mobile state → Sync engine: runs synchronization
apps/mobile/src/state/app.tsx - Sync engine → Offline records: reads and updates
apps/mobile/src/sync/engine.ts - Sync engine → REST server: synchronizes sales
- REST server → Identity and access: serves identity APIs
- REST server → Organisation setup: serves organisation APIs
- REST server → Catalogue: serves catalogue APIs
- REST server → Sales and invoices: serves sales APIs
- REST server → Inventory: serves inventory APIs
- REST server → Purchasing: serves purchase APIs
- REST server → Accounting: serves accounting APIs
- REST server → Tax preparation: serves tax APIs
- REST server → Reports and exports: serves reporting APIs
- REST server → CRM and field service: serves CRM workflows
- REST server → Business extensions: serves opt-in capabilities
- REST server → PostgreSQL: persists business records
- Sales and invoices → Inventory: posts stock effects
README.md - Sales and invoices → Accounting: posts accounting entries
README.md - Sales and invoices → Tax preparation: records tax effects
README.md - Accounting → Reports and exports: feeds reports
README.md - Tax preparation → Reports and exports: prepares exports
README.md - Business extensions → Optional providers: integrates optionally
README.md