Skip to content

rtm20/Mandi-Adda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

10 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Mandi Adda ๐Ÿฅฌ๐ŸŽ

เคฎเค‚เคกเฅ€ เค…เคกเฅเคกเคพ - Your Digital Sabzi-Phal Marketplace

Mandi Adda is a web platform designed for fruits & vegetables vendors that provides instant AI-driven price discovery and negotiation tools with real-time multilingual support. Bringing the traditional mandi experience online!

Application Visuals

Home Page

image

Products Page

image

AI Price Discovery

image

Negotiation

image

๐ŸŒŸ Features

๐Ÿค– AI-Driven Price Discovery

  • Real-time market price analysis
  • Historical price trends
  • Smart price recommendations based on quality, season, and demand
  • Predictive pricing models

๐Ÿ’ฌ Multilingual Support

  • Real-time translation in 10+ Indian languages
  • Voice-to-text in local languages
  • Text-to-speech for accessibility
  • Regional dialect support

๐Ÿค Negotiation Tools

  • Smart negotiation assistant
  • Fair price suggestions
  • Deal history tracking
  • Counter-offer recommendations

๐Ÿ“Š Vendor Dashboard

  • Inventory management
  • Sales analytics
  • Customer insights
  • Market trends

๐Ÿš€ Quick Start

Prerequisites

  • Node.js 18+
  • npm or yarn

Installation

  1. Clone the repository: ```bash git clone https://github.com/your-username/multilingual-mandi.git cd multilingual-mandi ```

  2. Install dependencies: ```bash npm run install-all ```

  3. Set up environment variables: ```bash cp .env.example .env

Edit .env with your API keys (optional - works with mock data)

```

  1. Start the development server: ```bash npm run dev ```

  2. Open your browser:

๐Ÿ—๏ธ Project Structure

``` multilingual-mandi/ โ”œโ”€โ”€ .kiro/ # Kiro AI configuration โ”œโ”€โ”€ client/ # React frontend โ”‚ โ”œโ”€โ”€ src/ โ”‚ โ”‚ โ”œโ”€โ”€ components/ # Reusable UI components โ”‚ โ”‚ โ”œโ”€โ”€ pages/ # Page components โ”‚ โ”‚ โ”œโ”€โ”€ services/ # API services โ”‚ โ”‚ โ”œโ”€โ”€ hooks/ # Custom React hooks โ”‚ โ”‚ โ”œโ”€โ”€ context/ # React context providers โ”‚ โ”‚ โ””โ”€โ”€ utils/ # Utility functions โ”‚ โ””โ”€โ”€ public/ # Static assets โ”œโ”€โ”€ server/ # Express backend โ”‚ โ”œโ”€โ”€ routes/ # API routes โ”‚ โ”œโ”€โ”€ services/ # Business logic โ”‚ โ”‚ โ”œโ”€โ”€ ai/ # AI price discovery โ”‚ โ”‚ โ”œโ”€โ”€ translation/ # Multilingual services โ”‚ โ”‚ โ””โ”€โ”€ negotiation/ # Negotiation engine โ”‚ โ”œโ”€โ”€ models/ # Data models โ”‚ โ””โ”€โ”€ middleware/ # Express middleware โ””โ”€โ”€ README.md ```

๐ŸŒ Supported Languages

Language Code Region
Hindi hi North India
Tamil ta Tamil Nadu
Telugu te Andhra Pradesh, Telangana
Kannada kn Karnataka
Malayalam ml Kerala
Marathi mr Maharashtra
Bengali bn West Bengal
Gujarati gu Gujarat
Punjabi pa Punjab
English en Pan-India

๐Ÿ“ฑ API Endpoints

Products & Prices

  • `GET /api/products` - List all products
  • `GET /api/products/:id/price` - Get AI price suggestion
  • `POST /api/products/discover` - Discover market prices

Negotiation

  • `POST /api/negotiate/start` - Start negotiation session
  • `POST /api/negotiate/offer` - Make an offer
  • `POST /api/negotiate/counter` - Counter offer
  • `GET /api/negotiate/:sessionId` - Get session status

Translation

  • `POST /api/translate` - Translate text
  • `POST /api/translate/voice` - Voice to text
  • `GET /api/languages` - List supported languages

Vendors

  • `GET /api/vendors` - List vendors
  • `POST /api/vendors` - Register vendor
  • `GET /api/vendors/:id/dashboard` - Get dashboard data

๐Ÿงช Testing

```bash npm run test ```

๐Ÿค Contributing

We welcome contributions! Please see our Contributing Guide for details.

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ™ Acknowledgments

  • Built for the Kiro Hackathon 2026
  • Inspired by the vibrant mandis (markets) of India
  • Special thanks to local vendors who provided insights

Made with โค๏ธ for Indian Local Trade

About

AI-Powered Mandi Platform, Mandi Adda is a web platform designed for fruits & vegetables vendors that provides instant AI-driven price discovery and negotiation tools with real-time multilingual support. Bringing the traditional mandi experience online!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors