Centralized Authentication with Modular Agribusiness Apps
BetterAgri Auth ID provides unified Single Sign-On, JWT issuance, and RBAC across all BetterAgri platforms. Operational applications (e.g. My Poultry Manager) store only production records without duplicate user or credential tables.
DB: betteragri_auth
Master users (passwords/hashes), identities, OAuth applications, and security audits.
DB: betteragri_bat115
Clean farms, flocks, egg_records, feed, and app_users (no password duplicates).
Ecosystem Applications & Modules
Subsequent BetterAgri apps under ./public_root/apps/ consume bat_auth for authentication
My Poultry Manager
Broiler, layer & breeding operations, egg log, feed silos, biosecurity & financial records.
My Dairy Manager
Lactation curve monitoring, bulk milk tank, herd pedigrees, and breeding synchrony.
My Pig Manager
Farrowing intervals, litter size tracking, pork feed conversion, and carcass yield.
My Fish Manager
Pond water quality, fingerling stocking, dissolved oxygen telemetry, and harvest sorting.
Database Import Instructions (Fixed & Separated)
Creates betteragri_auth with the master users table, password hashes, applications registry, and organization RBAC.
Creates betteragri_bat115 with all farms, flocks, feed silos, egg logs, tasks, and financials.
Farms and organizations import in a single transaction with zero constraint failures.