Tigashire Varimi is a digital platform connecting farmers and buyers, streamlining agricultural trade in Zimbabwe.
# 🌾 Tigashire Varimi - Fresh Produce from Zimbabwe
A beautiful e-commerce platform connecting Zimbabwean farmers with consumers worldwide. Built with React, Node.js, and MongoDB.
## ✨ Features
- **Beautiful UI/UX** - Modern, responsive design with Google Poppins font
- **Multi-language Support** - English, Shona, and Ndebele
- **Fresh Produce Marketplace** - Organic fruits, vegetables, and grains
- **Farmer Profiles** - Direct connection with local farmers
- **Secure Checkout** - Stripe payment integration
- **Responsive Design** - Works perfectly on all devices
## 🚀 Quick Start
### Prerequisites
- Node.js (v16 or higher)
- MongoDB (local or cloud)
- npm or yarn
### 1. Clone the Repository
```bash
git clone
cd tigashire-varimi
```
### 2. Install Dependencies
```bash
# Install client dependencies
cd client
npm install
# Install server dependencies
cd ../server
npm install
```
### 3. Environment Setup
#### Client (.env file in client directory)
```env
VITE_API_URL=
localhost
```
#### Server (.env file in server directory)
```env
PORT=4000
MONGO_URI=mongodb://localhost:27017/tigashire-varimi
CLIENT_URL=
localhost
JWT_SECRET=your-super-secret-jwt-key-here
STRIPE_SECRET_KEY=your-stripe-secret-key-here
```
### 4. Start MongoDB
Make sure MongoDB is running on your system:
```bash
# On Windows (if using MongoDB Community)
mongod
# On macOS (if using Homebrew)
brew services start mongodb-community
# On Linux
sudo systemctl start mongod
```
### 5. Run the Application
#### Terminal 1 - Start the Server
```bash
cd server
npm run dev
```
Server will run on:
localhost
#### Terminal 2 - Start the Client
```bash
cd client
npm run dev
```
Client will run on:
localhost
### 6. Seed the Database (Optional)
```bash
cd server
npm run seed
```
## 🛠️ Development
### Available Scripts
#### Client
- `npm run dev` - Start development server
- `npm run build` - Build for production
- `npm run preview` - Preview producti …