Institutes run on disconnected tools
Coaching institutes often split student records, class structures, attendance devices, fee collection, expenses and SMS across separate tools. The client platform I am building brings them into one multi-tenant system, where each organisation must never see or change another organisation's data.
Attendance was the hardest integration. Students and teachers share physical biometric devices, and the institutes use devices from two vendors, Steller and Tipsoi, with different protocols and data formats.
One internal contract, one adapter per vendor
The quick solution was an if-else in the attendance code: vendor A works this way, vendor B that way. It would have worked for two vendors. The third vendor would have meant reopening attendance logic again, and over time each vendor's quirks would have leaked into the core workflow.
Instead I defined an internal device contract. The attendance workflow only knows that contract. Each vendor gets an adapter that translates its protocol into the platform's language, and a new vendor means a new adapter, not a change to attendance rules.
The same boundary holds the sensitive parts: biometric device credentials are encrypted, there is a shared device-identity strategy for people with different roles, and polling is handled in one workflow rather than per vendor.
Hardware will change and vendors will change. The business logic should not need to know.
Organisation scope is part of every protected query
Tenant identity and granular role checks are applied at server boundaries, so client state can never widen access to academic or financial records. Roles separate platform administration, organisation administration, finance and academic coordination.
Server Components handle initial data and access boundaries, while TanStack Query supports the high-interaction screens, so the whole application does not become client state.
Critical records are never destroyed
Students, teachers, payments and related records use soft deletion with reasons and history. A financial correction leaves evidence behind instead of erasing it, which matters the first time two people remember a payment differently.
Attendance alerts and marketing messages go out as Bangla SMS through a scheduling and batch-delivery design that respects provider limits and tracks delivery state. The platform is a private client SaaS under active development.
