AMJUULYA
AMJUULYA — Монголын gig economy платформ. Ажил үүсгэх, ажиллах, үйлчилгээ авах, төлбөр хийх бүгд нэг апп-д.
翻譯準備中
尚未收集儲存庫資訊。
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗A modern, interactive inventory management system for pet supply stores featuring a real-time chat interface for querying products, checking stock levels, and receiving alerts.
cd pet-supply-inventory-chat
npm install
npm run dev
The chat interface supports natural language queries and specific commands:
search [product name] - Search for specific productsfind dog food - Find products matching keywordsstock [product name] - Check stock levels for specific productsinventory cat litter - View inventory detailslow stock - View all products with low stockalert - Show current stock alertslist all - Show all products in inventoryhelp - Display available commandscommands - Show command listsearch dog food
stock flea treatment
low stock
list all
help
pet-supply-inventory-chat/
├── app/
│ ├── globals.css # Global styles
│ ├── layout.tsx # Root layout
│ └── page.tsx # Main page with chat and inventory
├── components/
│ ├── ChatInterface.tsx # Chat component with message handling
│ └── InventoryPanel.tsx # Inventory overview panel
├── lib/
│ └── mockData.ts # Sample product data
├── types/
│ └── index.ts # TypeScript type definitions
├── public/ # Static assets
├── package.json # Dependencies and scripts
├── tsconfig.json # TypeScript configuration
├── tailwind.config.ts # Tailwind CSS configuration
└── README.md # This file
interface Product {
id: string;
name: string;
category: 'food' | 'toys' | 'accessories' | 'healthcare' | 'grooming' | 'other';
stock: number;
minStock: number;
price: number;
supplier?: string;
lastUpdated: Date;
}
interface ChatMessage {
id: string;
userId: string;
userName: string;
content: string;
timestamp: Date;
type: 'text' | 'system' | 'alert' | 'query';
productQuery?: ProductQuery;
}
interface StockAlert {
id: string;
product: Product;
message: string;
severity: 'low' | 'critical' | 'out';
timestamp: Date;
acknowledged: boolean;
}
ChatInterface.tsx)InventoryPanel.tsx)The system comes with 10 sample products including:
# Start development server
npm run dev
# Build for production
npm run build
# Start production server
npm start
# Run linter
npm run lint
This is a demo project. Feel free to fork and modify for your needs.
MIT License - feel free to use this project for commercial or personal purposes.
For issues or questions, please create an issue in the project repository.
Built with Next.js, TypeScript, and Tailwind CSS