A modern React-based web marketplace connecting farmers directly with buyers across Nigeria, eliminating middlemen and ensuring fair prices for agricultural products.
AgriLink NG is a comprehensive agricultural marketplace platform that empowers farmers to sell their products directly to buyers, featuring real-time negotiation, secure communication, and seamless transaction management. The platform aims to revolutionize Nigeria's agricultural sector by creating transparent, efficient market connections.
- Direct Farmer-to-Buyer Marketplace - Connect agricultural producers with consumers
- Real-time Chat & Negotiation - In-app messaging for price discussions
- Product Listings Management - Comprehensive product catalog with search and filters
- Secure Authentication - Role-based access for farmers and buyers
- Responsive Design - Mobile-first approach for accessibility across devices
- Hero Section - Compelling introduction to the platform
- Problem & Solution Sections - Clear value proposition
- Features Showcase - Highlight key platform capabilities
- Process Flow - Step-by-step guide for users
- Testimonials - Social proof and user feedback
- FAQ Section - Address common user questions
- Call-to-Action - Drive user registration and engagement
- Frontend Framework: React 18 with TypeScript
- Build Tool: Vite
- Styling: Tailwind CSS with custom design system
- UI Components: shadcn/ui + Radix UI primitives
- Routing: React Router DOM
- State Management: TanStack Query (React Query)
- Form Handling: React Hook Form with Zod validation
- Icons: Lucide React
- Development: ESLint + TypeScript for code quality
{
"react": "^18.3.1",
"typescript": "^5.8.3",
"vite": "^5.4.19",
"tailwindcss": "^3.4.17",
"@radix-ui/react-*": "Latest",
"react-router-dom": "^6.30.1",
"@tanstack/react-query": "^5.83.0"
}
- Node.js (v18 or higher)
- npm or yarn package manager
- Git
- Clone the repository
git clone https://github.com/InventorsDev/Team-Delta-Defenders-Frontend.git
cd Team-Delta-Defenders-Frontend
- Install dependencies
npm install
- Start development server
npm run dev
The application will be available at http://localhost:8080
npm run dev
- Start development servernpm run build
- Build for productionnpm run build:dev
- Build in development modenpm run preview
- Preview production buildnpm run lint
- Run ESLint code analysis
src/
├── components/ # React components
│ ├── ui/ # Reusable UI components (shadcn/ui)
│ ├── Header.tsx # Navigation header
│ ├── Hero.tsx # Landing page hero
│ ├── ProblemSection.tsx
│ ├── SolutionSection.tsx
│ ├── FeaturesSection.tsx
│ ├── CTASection.tsx
│ ├── ProcessSection.tsx
│ ├── TestimonialsSection.tsx
│ ├── FAQSection.tsx
│ └── Footer.tsx # Site footer
├── pages/ # Page components
│ ├── Index.tsx # Landing page
│ └── NotFound.tsx # 404 page
├── hooks/ # Custom React hooks
├── lib/ # Utility functions
├── App.tsx # Main app component
└── main.tsx # Application entry point
design/ # Design documentation
├── README.md # Design system docs
├── figma-links.md # Design file links
└── research-docs.md # UX research documentation
public/ # Static assets
├── agrilink-logo.png # Brand logo
├── hero-bg.png # Hero background
├── problem-image.png # Problem section visual
├── solution-image.png # Solution section visual
└── [additional images] # Feature and UI assets
The project uses a comprehensive design system built on:
- Tailwind CSS for utility-first styling
- shadcn/ui for accessible, customizable components
- Radix UI primitives for complex interactive elements
- Custom color palette optimized for agricultural branding
- Responsive breakpoints for mobile-first design
All UI components follow atomic design principles:
- Atoms: Basic UI elements (buttons, inputs, labels)
- Molecules: Component combinations (form fields, cards)
- Organisms: Complex sections (header, hero, features)
- Templates: Page layouts and structures
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
- Follow TypeScript best practices
- Use ESLint configuration for code consistency
- Write meaningful commit messages
- Test components thoroughly before submitting
- Maintain responsive design principles
- Follow accessibility standards (WCAG 2.1)
This project is part of the Team Delta Defenders development initiative for AgriLink NG.
Team Delta Defenders - Frontend Development Team
- Focused on creating accessible, performant agricultural marketplace solutions
- Committed to empowering Nigerian farmers through technology
Built with ❤️ for Nigerian farmers and agricultural communities