Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QFarm Assist

A platform connecting farmers with local markets, enabling real-time price discovery, efficient supply chain management, and fair pricing for agricultural products.

Key Features

  • Real-time price discovery and market trends
  • Supply chain tracking and management
  • Secure payment processing with blockchain
  • Analytics and insights for farmers and markets
  • Location-based matching of supply and demand
  • Mobile and web interfaces for all stakeholders

Tech Stack

  • Frontend: React (Web), React Native (Mobile)
  • Backend: FastAPI (Python)
  • Database: PostgreSQL, MongoDB
  • Real-time Processing: Redis
  • Blockchain: Ethereum
  • Analytics: QuantumML
  • Cloud: AWS
  • DevOps: Docker, Kubernetes

Project Structure

farmer-market-connect/
├── backend/                # FastAPI backend
│   ├── app/
│   │   ├── api/            # API endpoints
│   │   ├── core/           # Core functionality
│   │   ├── models/         # Database models
│   │   ├── schemas/        # Pydantic schemas
│   │   ├── services/       # Business logic
│   │   └── utils/          # Utility functions
│   ├── tests/              # Backend tests
│   ├── main.py             # Entry point
│   └── requirements.txt    # Python dependencies
├── frontend/               # React frontend
│   ├── public/
│   ├── src/
│   │   ├── components/     # UI components
│   │   ├── hooks/          # Custom hooks
│   │   ├── pages/          # Page components
│   │   ├── services/       # API services
│   │   ├── store/          # State management
│   │   └── utils/          # Utility functions
│   ├── package.json
│   └── tsconfig.json
├── mobile/                 # React Native mobile app
│   ├── src/
│   │   ├── components/     # UI components
│   │   ├── navigation/     # Navigation structure
│   │   ├── screens/        # App screens
│   │   ├── services/       # API services
│   │   ├── store/          # State management
│   │   └── utils/          # Utility functions
│   ├── package.json
│   └── tsconfig.json
├── blockchain/             # Smart contracts
│   ├── contracts/
│   ├── migrations/
│   └── truffle-config.js
├── ml/                     # QuantumML analytics
│   ├── models/
│   ├── data/
│   └── training/
├── docker-compose.yml      # Docker setup
└── README.md               # Project documentation

Getting Started

Prerequisites

  • Python 3.9+
  • Node.js 14+
  • Docker and Docker Compose
  • PostgreSQL
  • MongoDB

Backend Setup

cd backend
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
pip install -r requirements.txt
uvicorn app.main:app --reload

Frontend Setup

cd frontend
npm install
npm start

Mobile Setup

cd mobile
npm install
npx react-native run-android  # or run-ios

License

MIT

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages