Revolutionary Farmers is a Next.js-powered marketplace platform designed to revolutionize agricultural transactions using Stellar blockchain technology. Our platform connects farmers directly with buyers, ensuring secure, transparent, and efficient transactions through USDC payments and escrow services.
- Blockchain-Powered Marketplace: Secure transactions using Stellar blockchain and USDC stablecoin
- Multi-Payment Options: Pay with USDC via MoonPay, Stellar wallet connection, or QR code
- Address Book Management: Save and manage multiple shipping addresses
- Order Management: Complete tracking from placement to delivery
- Multi-language Support: Fully localized for English and Spanish users
- Responsive Design: Optimized for all devices from mobile to desktop
- Node.js 18.x or higher
- pnpm 8.x or higher (preferred package manager)
Verify your Node.js version:
node -vInstall pnpm if not already installed:
npm install -g pnpm- Clone the Repository:
git clone https://github.com/your-username/Revo-Marketplace.git
cd Revo-Marketplace- Install Dependencies:
pnpm install- Run Development Server:
pnpm dev- Access the Application: Open http://localhost:3000 in your browser
pnpm dev- Start development server with hot reloadingpnpm build- Build production-ready applicationpnpm start- Run production buildpnpm lint- Run ESLint to check code qualitypnpm format- Format code with Prettier
- Next.js 14+ - React framework with App Router and Server Components
- TypeScript - Type-safe JavaScript development
- React 18 - UI library with hooks and concurrent rendering
- TailwindCSS - Utility-first CSS framework
- Radix UI - Accessible, unstyled components
- Lucide React - Modern icon library
- Framer Motion - Animation library
- Styled Components - CSS-in-JS solution
- Zustand - Lightweight state management
- React Hook Form - Form validation and handling
- Zod - TypeScript-first schema validation
- next-intl - Complete i18n solution for Next.js
- Stellar SDK - JavaScript SDK for Stellar blockchain
- Freighter API - API for Stellar wallet integration
- Axios - Promise-based HTTP client
- Sonner - Toast notification library
- clsx/tw-merge - Utility for conditional class names
src/
├── app/ # Next.js App Router
│ ├── [locale]/ # Locale-specific routes
│ │ ├── address-book/ # Address management
│ │ ├── checkout/ # Checkout flow
│ │ ├── orders/ # Order history and details
│ │ └── products/ # Product listings and details
├── components/ # Reusable UI components
├── contexts/ # React contexts
├── lib/ # Utility functions
├── store/ # Zustand store definitions
└── types/ # TypeScript type definitions
Comprehensive visual documentation of the Revolutionary Farmers Marketplace functionality and architecture is available in the diagramas/ folder:
- 🎯 System Overview - Complete system functionality map
- 🛒 Buyer Journey - Complete buyer user flow
- 👨🌾 Farmer Journey - Farmer onboarding and management
- 🏗️ Technical Architecture - Technology stack and system design
- 🔒 Blockchain & Escrow - Payment and transaction flows
- 🧩 Component Structure - Code organization and modularity
- 📦 Product Management - Product and inventory system
- 👤 User & Authentication - User management and security
These interactive Mermaid diagrams provide detailed insights into system flows, component relationships, and technical implementation details. Perfect for developers, product managers, and stakeholders to understand the platform architecture.
Revolutionary Farmers leverages the Stellar blockchain for secure payments and escrow services:
- USDC Payments - Accept payments in USDC stablecoin
- Smart Contracts - Automated escrow and payment release
- Wallet Integration - Connect with Stellar wallets (Freighter, Albedo)
We welcome contributions! Please follow these steps:
- Fork the repository
- Create a feature branch:
git checkout -b feature/your-feature-name - Commit your changes:
git commit -m "Add your descriptive message" - Push to your branch:
git push origin feature/your-feature-name - Open a pull request with detailed description
This project is licensed under the MIT License - see the LICENSE file for details.
- The Stellar Development Foundation for blockchain infrastructure
- All contributors who have helped shape this platform
With love from Revolutionary Farmers!