Revolutionary Farmers is a Next.js project focused on advancing agriculture by providing a platform with escrow services. This project aims to bring innovative solutions to farmers, suppliers, and buyers in the agriculture sector by ensuring secure transactions through escrow as a service.
- Escrow Service: Secure, blockchain-based transactions for agriculture.
- User Authentication: Secure user accounts with form validation and protected routes.
- Product Listings: Farmers, suppliers, and buyers can list, browse, and manage agricultural products.
- Transaction History: Comprehensive record-keeping for past transactions.
- Responsive Design: Optimized for mobile, tablet, and desktop use.
Ensure you have Node.js installed (version 18.x or higher).
To verify the installed version, use the following command:
node -v
If Node.js is not installed, download it from the official Node.js website.
- Clone the Repository:
git clone https://github.com/your-username/Revo-Frontend.git
cd Revo-Frontend
- Install dependencies:
npm install
- Run development server:
npm run dev
- Open the Application: Navigate to http://localhost:3001 in your browser to view the application.
Available Commands:
npm run dev
- Start the development server on http://localhost:3001 with live reload enabled.npm run build
- Create production buildnpm run start
- Start production servernpm run lint
- Run ESLint to lint code.npm run format
- Format code with Prettier
- Next.js (v14.2.14) - React framework
- React (v18) - JavaScript library for building user interfaces
- React Hook Form (v7.53.0) - Form handling library
- Radix UI - Headless UI components
- TailwindCSS (v3.4.1) - Utility-first CSS framework
- TypeScript (v5.6.3) - Type-safe JavaScript
- Styled Components (v6.1.13) - CSS-in-JS solution
- Zod (v3.23.8) - Type-safe schema validation
- Zustand (v5.0.0-rc.2) - Small, fast, and scalable state management
- Axios (v1.7.7) - Promise-based HTTP client
- Lucide React (v0.447.0) - React icons library
- clsx (v2.1.1) - Utility for constructing
className
strings conditionally - Prettier (v3.3.3) - Code formatter
- ESLint (v8.57.1) - Linting tool for JavaScript/TypeScript
- PostCSS (v8) - CSS tool for transforming styles
- Freighter API - API for interacting with Stellar blockchain wallets
- Stellar SDK (v12.3.0) - JavaScript library for Stellar blockchain
This repository represents the frontend codebase for the Revolutionary Farmers platform, following its separation from the original Revolutionary_Farmers mono repository. This migration enables streamlined development, focused improvements, and better maintainability for the user interface and client-side features.
We welcome contributions to make this platform even better. If you'd like to contribute:
-
Fork the repository.
-
Create a feature branch:
git checkout -b feature/your-feature-name
- Commit your changes and push to your branch:
git commit -m "Add your message here"
git push origin feature/your-feature-name
- Open a pull request and provide a detailed description of your changes.