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 transactions for agriculture.
- User Authentication: Secure login for all users.
- Product Listings: Manage and view agricultural products.
- Transaction History: View past transactions.
- Responsive Design: Optimized for all devices.
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/Revolutionary_Farmers.git
cd Revolutionary_Farmers/web/
- Install dependencies:
npm install
- Run development server:
npm run dev
- Open http://localhost:3001 in your browser
Available Commands:
npm run dev
- Start development servernpm run build
- Create production buildnpm run start
- Start production servernpm run lint
- Run ESLint linternpm 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
Migration from Revolutionary_Farmers mono repository into a Frontend especific repo.