{"id":26820231,"url":"https://github.com/starone01/agrichain","last_synced_at":"2025-07-23T17:35:41.072Z","repository":{"id":281480334,"uuid":"933719389","full_name":"StarOne01/agriChain","owner":"StarOne01","description":"AgriChain is a blockchain-powered platform connecting farmers directly with consumers, eliminating intermediaries and ensuring transparency in the agricultural supply chain. The platform leverages blockchain technology to create a trustless environment for agricultural trade.","archived":false,"fork":false,"pushed_at":"2025-03-09T11:03:39.000Z","size":391,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-24T03:28:49.535Z","etag":null,"topics":["nextjs","nodejs","polygon","solidity"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/StarOne01.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-16T14:42:37.000Z","updated_at":"2025-03-09T11:06:34.000Z","dependencies_parsed_at":"2025-03-09T12:18:31.509Z","dependency_job_id":"a624c043-8fd2-46c8-82e2-d50d8fb1c431","html_url":"https://github.com/StarOne01/agriChain","commit_stats":null,"previous_names":["starone01/agrichain"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/StarOne01/agriChain","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StarOne01%2FagriChain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StarOne01%2FagriChain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StarOne01%2FagriChain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StarOne01%2FagriChain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StarOne01","download_url":"https://codeload.github.com/StarOne01/agriChain/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StarOne01%2FagriChain/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266720662,"owners_count":23974016,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nextjs","nodejs","polygon","solidity"],"created_at":"2025-03-30T06:29:56.103Z","updated_at":"2025-07-23T17:35:41.032Z","avatar_url":"https://github.com/StarOne01.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌾 AgriChain – Decentralized Marketplace for Farmers \u0026 Consumers\n\n## Project Overview\n\nAgriChain is a blockchain-powered platform connecting farmers directly with consumers, eliminating intermediaries and ensuring transparency in the agricultural supply chain. The platform leverages blockchain technology to create a trustless environment for agricultural trade.\n\n## Features\n\n- **Direct Farmer-to-Consumer Marketplace**: Eliminates middlemen to improve farmer earnings and consumer prices\n- **Blockchain-Verified Transactions**: Ensures transparency and traceability\n- **Farmer Profiles**: Allows farmers to showcase their products and practices\n- **Order Management**: Comprehensive system for tracking purchases\n- **Product Listings**: Detailed product information including origin and farming methods\n- **User Authentication**: Secure login system for farmers and consumers\n\n## Tech Stack\n\n### Backend\n- Node.js\n- Express.js\n- MongoDB (with Mongoose)\n- Blockchain integration (likely Ethereum/Solidity)\n- RESTful API architecture\n\n### Frontend\n- Next.js\n- TypeScript\n- Tailwind CSS\n- Axios for API requests\n\n## Project Structure\n\n```\n├── backend/                 # Server-side code\n│   ├── blockchain/          # Blockchain integration components\n│   ├── controller/          # API controllers\n│   ├── model/               # Database models\n│   ├── routes/              # API endpoints\n│   ├── util/                # Helper functions\n│   └── server.js            # Main server file\n├── frontend/                # Client-side code\n│   ├── component/           # React components\n│   ├── public/              # Static assets\n│   └── src/                 # Source code\n```\n\n## Getting Started\n\n### Prerequisites\n- Node.js (v16+)\n- MongoDB\n- Ethereum wallet (MetaMask recommended)\n- Git\n\n### Backend Setup\n```bash\n# Clone the repository\ngit clone \u003crepository-url\u003e\n\n# Navigate to backend directory\ncd agriChain/backend\n\n# Install dependencies\nnpm install\n\n# Start the development server\nnpm run dev\n```\n\n### Frontend Setup\n```bash\n# Navigate to frontend directory\ncd ../frontend\n\n# Install dependencies\nnpm install\n\n# Start the development server\nnpm run dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the application.\n\n## Blockchain Configuration\n\nThe blockchain component requires proper configuration before use:\n\n1. Set up an Ethereum wallet\n2. Configure blockchain settings in config\n3. Deploy smart contracts using migration scripts\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## Acknowledgments\n\n- Thanks to all contributors who have helped build AgriChain\n- Special thanks to the blockchain and agricultural communities for inspiration\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstarone01%2Fagrichain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstarone01%2Fagrichain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstarone01%2Fagrichain/lists"}