Skip to main content
SS. M. Siam
work / amader-batch
Production · updated Oct 2026120+ Active Students

Amader Batch

Academic notices, daily class schedules, and shared batch accounting PWA built for engineering cohorts.

github repoNext.js · Prisma · TailwindCSS · PostgreSQL
METRICS AT A GLANCE
Active Users120+ Students
Lighthouse Score98 / 100
Offline CapabilityFull Schedule & Notices
DeploymentVercel + Supabase PG
01/THE PROBLEM

Crucial academic notices drowned in chat noise

In typical university cohorts, schedule announcements, exam notices, and slide links are dumped into chaotic WhatsApp and Telegram groups. Between memes and banter, students frequently miss deadline changes. Additionally, pooling class money for lab equipment or farewell programs was tracked in messy paper notebooks.

02/ARCHITECTURAL TRADEOFFS

Architectural Decisions & Trade-offs

Progressive Web App (PWA) vs Native App Store

Students use a mix of Android, iOS, Windows, and Linux laptops with varying storage limits.
Approach:PWA with service-worker caching and manifest configuration.
Trade-off Accepted:Instant zero-install adoption across 120+ students without Google Play or Apple App Store gatekeeping or developer fees.

Optimistic UI Updates for Class Schedule Changes

Routine class reschedule notices require immediate visibility even in cellular dead-zones on campus.
Approach:Client-side IndexedDB caching coupled with background stale-while-revalidate sync.
Trade-off Accepted:Requires strict conflict resolution when routine notices are updated simultaneously by class representatives.

Batch Fund Ledger with Immutable Audit Log

Disputes in shared student batch funds when purchasing course materials and event logistics.
Approach:Append-only transactional ledger with receipt attachment and cryptographic audit signatures.
Trade-off Accepted:Higher database write overhead, but 100% transparent accounting that eliminated financial ambiguity.
03/DISTRIBUTED PIPELINE

Offline-First Distributed Pipeline

Interactive dataflow showing how local optimistic writes, IndexedDB offline persistence, monotonic LWW reconciliation, and PostgreSQL relational schemas converge.

Distributed Synchronization Engine

Amader Batch Offline-First Architecture

How 120+ engineering students synchronize academic schedules and fund ledgers with zero signal

Replication Flow (Tap to inspect)Swipe →
STAGE 02 TELEMETRYLatency: 4–8 msStorage: IndexedDB (idb-keyval)

Client IndexedDB Store — Local Normalized Schema

Stores class schedules, notice boards, and student welfare funds locally in IndexedDB with relational normalization mirroring the server schema.

Consistency Guarantee:Local writes never block on network timeouts.
Transactional IndexedDB read/writes guaranteed within 8ms.
Stores pending synchronization operations in an append-only outbound mutation queue.
Index-accelerated full-text queries across notices without round-trip network hops.
Replication StatusIDLE
event_payloadNotice: CSE-402 Reschedule
active_storageIndexedDB (idb-keyval)
transaction_integrity
Instant Local Write (0ms UI latency)
04/ROADMAP & TRANSPARENCY

Status, honestly

Production Ready
  • PWA Service Worker offline caching
  • IndexedDB store & mutation queue
  • Supabase PostgreSQL schema with RLS
  • 120+ active engineering students
Active Research
  • ~WebPush background sync for deadline changes
  • ~Conflict resolution heuristics for peer edits
  • ~Automated Excel financial balance sheet exports
Architecture Roadmap
  • •Multi-batch federation across departments
  • •bKash / Nagad automated transaction verification
  • •End-to-end encrypted student representative chat