A working full-stack prototype of the AgriConnect Ghana marketplace, built to demonstrate the core loop from the Phase 2/3 proposal: farmers list produce, buyers order directly with escrow-style protection, transport is coordinated, and market prices are tracked over time.
# AgriConnect Ghana — CS410 MVP Prototype
A working full-stack prototype of the AgriConnect Ghana marketplace, built to demonstrate the core loop from the Phase 2/3 proposal: farmers list produce, buyers order directly with escrow-style protection, transport is coordinated, and market prices are tracked over time.
## 🚀 CS410 Presentation Highlights
This prototype has been specifically adapted to meet the **CS410 Entrepreneurship in Computing** course requirements:
1. **Local Ghanaian Payments**: We replaced the proposed USSD/Africa's Talking integration (which requires live cloud APIs) with a **fully local simulated payment flow**. Buyers can pay via **MTN Mobile Money, Telecel Cash, AirtelTigo Money, GhIPSS Instant Pay, or Cash on Delivery** directly in the app.
2. **XAMPP Hosting Support (All Files in XAMPP)**: The entire system (both frontend and backend) can be placed directly inside XAMPP's `htdocs` directory to ensure all components are housed together locally, rather than being scattered.
3. **Hybrid Architecture**: This MVP uses a modern Node.js/Express backend paired with a React frontend. The backend runs as an API on `localhost:4000`, while XAMPP serves the frontend on port 80. A one-click `start.bat` script makes launching the entire system from XAMPP seamless.
---
## 🏃 How to Launch the System from XAMPP
To confirm and ensure **all files** (not just a few built components) are inside XAMPP, please follow these exact steps to launch the system:
### Step 1: Move the entire project to XAMPP
Copy or move this entire **`agriconnect`** folder (containing `frontend`, `backend`, `README.md`, etc.) into your XAMPP `htdocs` directory.
Your path should look exactly like this:
👉 `C:\xampp\htdocs\agriconnect`
### Step 2: Start Apache in XAMPP
1. Open your **XAMPP Control Panel**.
2. Click the **Start** button next to **Apache**.
*(Make sure the text highlights green, meaning Apache is running on Port 80).*
### Step 3: Launch the System
1. Open the folder w …