This is me trying a build a app where farmers can buy and sell products online.
# đŸ Gambian Farmers Market
### E-Farming Marketplace
**Connect Gambian farmers with buyers. Fresh products from farm to table.**
A full-stack web application where farmers can sell agricultural goods and buyers can purchase fresh products directly from farms.
---
## Why Choose Gambian Farmers Market?
| | |
|---|---|
| **đŸ Fresh Products** | Direct from farmers to ensure freshness and quality |
| **đ° Fair Prices** | Cut middlemen and get the best prices |
| **đ Fast Delivery** | Quick and reliable delivery to your doorstep |
| **đĄïž Secure Transactions** | Safe and secure payment options |
---
## Features
### For Buyers
â
Browse agricultural products by category
â
Search for specific products
â
Add products to shopping cart
â
Place orders
â
Track order status
â
View order history
â
Manage user profile
### For Farmers
â
List agricultural products for sale
â
Manage product inventory
â
View sales and orders
â
Track customer orders
â
Admin dashboard
## đ ïž Tech Stack
### đš Frontend
â
**React 18** - UI library
â
**Vite** - Build tool
â
**React Router** - Client-side routing
â
**Axios** - HTTP client
â
**CSS3** - Styling
### đ§ Backend
â
**Node.js** - Runtime environment
â
**Express.js** - Web framework
â
**MongoDB** - NoSQL database
â
**Mongoose** - ODM (Object Document Mapper)
â
**JWT** - Authentication
â
**bcryptjs** - Password hashing
â
**Multer** - File uploads
â
**CORS** - Cross-origin resource sharing
## đ Project Structure
```
Gambian Farmers Market/
â
âââ đ server/ # Backend Application (Node.js + Express)
â âââ đ models/ # MongoDB Schemas
â âââ đ controllers/ # Business Logic
â âââ đ routes/ # API Endpoints
â âââ đ middleware/ # Authentication & Validation
â âââ đ config/ # Configuration Files
â âââ đ uploads/ # Uploaded Files
â âââ đ server.js # Entry Point
â âââ đ package.json
â âââ đ .env.example # Environment Variables Template
â
âââ đ client/ âŠ