All work
Agritech ERP

Aruj Nursery

Replacing spreadsheets with a unified ops platform across 5 business workflows.

10+
Modules unified
5
Roles & permissions
200+
DB migrations shipped
The brief

Aruj Nursery is North India's first grafted-vegetable nursery. As they scaled, their operations splintered across spreadsheets, WhatsApp, and paper — orders, dispatch, seed inventory, receipts, and procurement all lived in different places, owned by different people. We built a single typed, role-aware platform that consolidated all of it.

What we built

A multi-module operations platform: farmer CRM, order management with variants, dispatch logistics with gate-pass generation, seed inventory & requirements planning, receipts & ledger reconciliation, procurement & supplier invoicing, employee performance tracking, claims management with photo evidence, and a real-time dashboard tying it all together.

Why it works

Every workflow that used to require three people coordinating across three tools is now one screen, one role, one source of truth. Operations runs the order-to-dispatch flow; finance owns receipts and ledger; admins see the full picture. No data leaves the system, and nothing falls through the cracks.

Architecture

How it's built

  • 01Middleware-enforced Supabase auth with role-based access control across 5 distinct roles (admin, operations, finance, staff, manager).
  • 02Layered architecture: pages → API routes → React Query hooks → Supabase. Components never call the database directly.
  • 03200+ versioned SQL migrations and 40+ RPCs/views, enabling safe environment promotion (dev → staging → prod).
  • 04TypeScript strict throughout with auto-generated Supabase types — eliminates DB sync bugs at compile time.
  • 05Conventional commits, husky pre-commit hooks, GitHub Actions running lint + typecheck on every PR.
Stack
Next.js 16TypeScriptSupabasePostgresReact QueryTailwindVercel
Outcomes
01

Eliminated cross-team coordination overhead by unifying 5 disjoint business workflows into one platform.

02

Audit-ready operations: every mutation traced to a user and a role, with multi-environment isolation.

03

Production-deployed on Vercel with multi-env configs and CI gates from day one.

Want something like this?

Let's talk for 25 minutes. No pitch.