Logo Lanfrica

singhateh3/gambia-price-tracker

Domain:

agriculture

Record type:

software
Creator:
sin
Host:
## Live Demo - Frontend: your-vercel-app.vercel.app - API: gambia-price-tracker-api.on… # Gambia Crop Price Tracker A full-stack web application that displays real-time crop prices across major markets in The Gambia. Built to help farmers and traders make informed decisions without having to travel between markets. --- ## The Problem Most farmers in The Gambia sell at whatever price a middleman offers because they have no visibility into what prices look like in other markets. This app solves that by showing weekly crop prices across Serrekunda, Brikama, Farafenni, and Basse markets in one place. --- ## Tech Stack | Layer | Technology | | ----------------- | -------------------------- | | Backend | Laravel 12 (PHP) | | Database | MySQL | | Frontend | React + Vite | | Styling | Tailwind CSS v4 | | Charts | Chart.js + react-chartjs-2 | | API Communication | Axios | --- ## Project Structure ``` gambia-price-tracker/ ← Laravel backend ├── app/ │ ├── Http/Controllers/Api/ │ │ └── PriceController.php │ └── Models/ │ ├── Crop.php │ ├── Market.php │ └── Price.php ├── database/ │ ├── migrations/ │ │ ├── create_markets_table.php │ │ ├── create_crops_table.php │ │ └── create_prices_table.php │ └── seeders/ │ ├── MarketSeeder.php │ ├── CropSeeder.php │ └── PriceSeeder.php ├── routes/ │ └── api.php └── config/ └── cors.php gambia-price-tracker-frontend/ ← React frontend ├── src/ │ ├── api/ │ │ └── index.js │ ├── components/ │ │ ├── PriceTable.jsx │ │ ├── BarChart.jsx │ │ └── LineChart.jsx │ ├── pages/ │ │ └── Home.jsx │ └── App.jsx └── vite.config.js ``` --- ## Database Schema ### markets | Column | Type | Description | | --------------------- …