200-500m
Walking RadiusZero-mile micro-transport connecting home gardens to RW hub
Zero-mile micro-transport connecting home gardens to RW hub
Canvas pixel spectrometry estimating SPAD & leaf chlorosis
Locked distributor funds automatically disbursed upon weighing
SDG 2 (Zero Hunger), 11 (Cities), 12 (Production), 13 (Climate)
Balconies, residential yards, concrete rooftops, and vertical walls
Seamless perspective toggle: Citizen Cultivator to Partner Distributor
Urban farming in major cities suffers from fragmentation: home growers produce high-quality micro-harvests (5–15 kg) but lack retail market access, while commercial buyers face high logistics costs and middlemen markups.
TerasTani bridges this gap with an operating system that consolidates neighborhood harvests within 200–500m walking radius into communal RW hubs, backed by AI leaf quality grading and smart escrow financial settlement.
An interactive walkthrough of the TerasTani platform: IoT microclimate telemetry, AI agronomic simulation, browser canvas leaf spectrometry, and communal crate logistics with smart escrow finance.
Platform architecture overview highlighting zero-mile urban harvest aggregation and UN SDGs alignment.
Built to automate mission-critical operations — unifying domain workflows, core services, and interactive user experiences.
Aggregates small residential harvests into bulk commercial crates within a 200–500m walking radius.
In-browser canvas color-space analysis evaluating leaf vitality and locking purchase prices without external GPU APIs.
Locks distributor funds in advance and automatically releases payouts to grower wallets upon weighing verification.
Streams temperature, humidity, light, and pH data with parallel background fetchers to eliminate loading flicker.
A decentralized civic food system combining microclimate IoT telemetry, client-side computer vision spectrometry, zero-mile communal crate logistics, and smart escrow settlement.
Live command center tracking environmental conditions across neighborhood clusters.
End-to-end zero-mile agricultural lifecycle from algorithmic land planning and AI leaf grading to communal crate drop-off and automated escrow disbursement.
Cultivators calculate planting hole density via the AI Land Calculator and track microclimates via neighborhood IoT telemetry.
Fresh leaves are scanned using in-browser Computer Vision to compute the SPAD chlorophyll index and lock in Grade A+ certification.
The platform issues a cryptographic QR deposit ticket (format TT-RW07-XXXXXX) with locked forward contract purchase pricing.
Cultivators transport fresh crops to the neighborhood Lumbung RW drop-off point and place them into cold storage crates (4.5°C).
The hub manager scans the QR ticket and weighs the produce; the system automatically triggers escrow disbursement into the grower's digital wallet.
Refrigerated distributor transport trucks collect consolidated bulk yields (500–1,000 kg) for delivery to commercial retail and supermarket networks.
Distributor procurement funds are locked in advance inside escrow contracts and automatically credited to grower digital wallets immediately upon physical scale verification at the neighborhood hub.
Engineered for high availability, fault tolerance, and clear domain separation across frontend interfaces, service layers, and data stores.
Single-Page Application styled with Tactile Editorial Neo-Brutalism, incorporating AuthContext role switcher, and resilient Axios interceptors.
High-resolution latency logging, strict CORS origin whitelisting, fail-fast input sanitizers, and JWT role-based access control.
Decoupled domain services executing mathematical agronomic calculations, plant spectrometry processing, and multi-tier escrow state transitions.
High-performance relational database with PgBouncer connection pooling, parameterized SQL queries, and idempotent competition seeders.
A modern engineering stack combining high-throughput user interfaces, modular backend architecture, and resilient data layers.
Clear boundary separation between system components, paired with modular schemas and structured repositories.
Identity management for citizen cultivators and commercial distributors, digital wallet balances, locked escrow balances, and immutable financial transaction ledgers.
Lumbung RW communal hub registry, cooling crate capacity metrics, and continuous 24/7 environmental IoT sensor telemetry logs.
Citizen micro-harvest records, Computer Vision AI quality certification grades (Grade A+ through D), cryptographic QR tokens, and scale verification statuses.
Wholesale bulk procurement quotas, locked forward contract pricing, and refrigerated logistics fleet delivery manifests.
Persistent agricultural plot models stored in PostgreSQL, along with community gamification quest progression and XP rewards.
Enterprise-grade security policies, documented API contracts, and the quantifiable outcomes achieved during production deployment.
Stateless authentication protocol utilizing signed JSON Web Tokens (JWT) with cryptographic secret keys and dynamic role-based access control.
Rigorous input sanitization pipelines validating data types, string boundaries, and numeric ranges prior to executing service layer transactions.
All database queries in the repository layer utilize strict parameter binding with pg.Pool, fully preventing SQL injection vulnerabilities.
Strict segregation between liquid wallet balances and escrowed funds prevents double-spending and ensures guaranteed grower disbursements.
How critical technical bottlenecks were overcome and verified under real production conditions.