A role-based web platform that empowers South African farmers and agricultural employees through technology.
# EcoHarvestConnect
EcoHarvestConnect is a sustainable, role-based web platform that empowers South African farmers and agricultural employees through technology. It aims to bridge the gap between small-scale farmers and agricultural experts, buyers, and green energy initiatives and encourage data-driven decisions and traceability. Built using ASP.NET Core MVC with Razor Pages and Identity, the platform encourages collaboration, innovation, and local economic growth.
---
## Table of Contents
- Project Structure
- User Roles
- Features Overview
- Default Test Accounts
- Notes
- License](#-license)
- Screenshots
---
## Updates from part 1 and 2: Project Parts Overview
### Part 1: Research document
### Part 2: UI Improvements & Additional Pages
• Redesigned the homepage to mimic real-world agricultural platforms.
• Added new pages: Approach, SocialResponsibility, and updated About.cshtml with improved layout and content.
• Enhanced navigation bar to align links.
• Updated registration flow:
1. Farmers are redirected directly to /Farmer/Index after registration.
2. Employees are redirected to /Employee/Index.
• Improved CSS and responsiveness across all pages.
• Added background images and visual enhancements to hero sections.
---
## Project Structure
```
EcoHarvestConnect/
├── Areas/
│ └── Identity/ # Login, Register, Identity setup
├── Controllers/
│ ├── FarmerController.cs # Farmer logic
│ └── EmployeeController.cs # Employee logic
├── Data/
│ └── AppDbContext.cs # DB context with EF Core
├── Models/
│ ├── Product.cs
│ └── ApplicationUser.cs # Extended Identity user
├── Pages/
│ └── About.cshtml # Static Razor Page for About Us
├── Views/
│ ├── Farmer/, Employee/, Home/, Shared/
├── wwwroot/
│ └── css/, js/, images/, providers/
├── Program.cs # Entry pointAdd commentMore actions
├── appsettings.json # Configuration
└── README.md
```
---
## Setup Instructions
### 1. Prerequisi …