Skip to content
YS
Portfolio // 26
> INITIALIZING SYSTEM0%
Green Valley Poultry Farm
Back to Projects

Green Valley Poultry Farm

Full-Stack E-Commerce Platform

Green Valley Poultry Farm

01Overview

Green Valley Poultry Farm is a full-stack e-commerce solution tailored for agricultural and poultry sales. It digitizes the ordering process, replacing manual tracking with a robust web platform that features live inventory updates and secure customer onboarding.

02Architecture & Tech

The backend is powered by Node.js and Express, connected to a MongoDB database. It exposes a REST API consumed by a Vanilla JavaScript frontend. Authentication is handled entirely via an OTP-based flow (no passwords required), ensuring high security and low friction for rural customers. An event-driven architecture is used for the notification engine, triggering emails and SMS messages upon order placement or status changes.

03Challenges

A major issue was "overselling" — multiple customers trying to purchase the last remaining batch of poultry simultaneously. Another challenge was ensuring the authentication flow was simple enough for users who might not be tech-savvy.

04Solutions

To solve the overselling issue, we implemented database-level locking and atomic transactions in MongoDB, ensuring that inventory checks and deductions happen in a single, uninterrupted operation. For authentication, we opted for a passwordless OTP flow using a third-party SMS gateway, which proved to be highly effective for the target demographic.

Role

Full-Stack Developer

Impact

launched digital ordering flow with live inventory updates

Stack

Node.jsExpressMongoDBJavaScriptREST API

Key Features

  • OTP-based authentication system
  • Real-time inventory management
  • Event-based notification engine
  • Admin dashboard with analytics