FarmFresh is a startup innovative AgriTech platform designed to revolutionize Kenya's agricultural ecosystem by connecting farmers, suppliers, and consumers in one seamless marketplace.
# FarmFresh - Connecting Kenya's Agricultural Ecosystem
FarmFresh is a startup innovative AgriTech platform designed to revolutionize Kenya's agricultural ecosystem by connecting farmers, suppliers, and consumers in one seamless marketplace.
## Features
**Interactive Marketplace**: Browse and purchase agricultural products directly from verified producers
**Producer & Supplier Profiles**: Connect with trusted agricultural partners across Kenya
**Real-time Communication**: Message directly with producers and suppliers
**Market Insights**: Access up-to-date information about market trends and pricing
**User Dashboard**: Track orders, manage profile, and view personalized recommendations
**Secure Payments**: Integrated M-Pesa and bank transfer payment options
**Data-Driven Recommendations**: AI-powered product suggestions based on user preferences and market trends
## Technology Stack
- **Frontend**: React, TypeScript, Tailwind CSS, Shadcn UI
- **State Management**: React Context API and React Query
- **Authentication**: Supabase Authentication
- **Database**: Supabase PostgreSQL Database
- **APIs**: Supabase Edge Functions
- **Payments**: M-Pesa API integration, Bank Transfer options
- **Deployment**: Vercel/Netlify (recommended)
## Getting Started
### Prerequisites
- Node.js (v16 or higher)
- npm or yarn
- Supabase account
### Installation
```bash
# Clone the repository
git clone
# Navigate to the project directory
cd farmfreshlimited-Agritech-Startup-main
# Install dependencies
npm install
# Start the development server
npm run dev
```
### Environment Variables
Create a `.env.local` file in the root directory with the following variables:
```
VITE_SUPABASE_URL=your_supabase_url
VITE_SUPABASE_ANON_KEY=your_supabase_anon_key
VITE_MPESA_CONSUMER_KEY=your_mpesa_consumer_key
VITE_MPESA_CONSUMER_SECRET=your_mpesa_consumer_secret
```
## Backend Architecture
FarmFresh uses Supabase as its backend infrastructure, providing:
1. **Authentication**: Use …