A modern, decentralized food review platform built with Next.js, ThirdWeb, and blockchain technology. Users can connect their wallets, share authentic reviews, earn NFT badges, and discover amazing restaurants.
- Wallet Connection: Secure authentication using ThirdWeb and WalletConnect
- Food Preferences: Set cuisine preferences, dietary restrictions, and spice levels
- Review System: Write and read authentic reviews with confidence scoring
- NFT Rewards: Earn badges for consistent and reliable reviews
- Smart Recommendations: AI-powered food suggestions based on preferences
- Voting System: Upvote/downvote reviews to maintain quality
- Restaurant Registration: Complete setup with shop details and menu management
- Review Management: View and respond to customer feedback
- Analytics Dashboard: Track performance metrics and customer insights
- Crypto Payments: Accept blockchain-based payments
- Menu Management: Add, edit, and organize menu items
- World ID Integration: Bot-free platform with human verification
- Confidence Scoring: AI-powered review reliability assessment
- Dynamic Voting Algorithm: Fair and unbiased review scoring
- Blockchain Storage: Immutable review data on the blockchain
- Frontend: Next.js 15, React 19, Tailwind CSS 4
- Blockchain: ThirdWeb SDK, Ethereum/Polygon/Mumbai networks
- UI Components: Lucide React icons, Framer Motion animations
- Forms: React Hook Form with validation
- Notifications: React Hot Toast
- State Management: Zustand
- Styling: Tailwind CSS with custom components
- Node.js 18+
- npm or yarn
- MetaMask or any Web3 wallet
- ThirdWeb account (for client ID)
git clone <your-repo-url>
cd fypnpm install
# or
yarn installCreate a .env.local file in the root directory:
NEXT_PUBLIC_THIRDWEB_CLIENT_ID=your_thirdweb_client_id
NEXT_PUBLIC_THIRDWEB_SECRET_KEY=your_thirdweb_secret_key- Go to ThirdWeb Dashboard
- Create a new project
- Copy your Client ID and Secret Key
- Add them to your
.env.localfile
npm run dev
# or
yarn devOpen http://localhost:3000 to view the application.
fyp/
βββ pages/
β βββ index.js # Landing page
β βββ _app.js # App wrapper with ThirdWeb provider
β βββ dashboard.js # User/Merchant dashboard
β βββ register/
β βββ user.js # User registration
β βββ merchant.js # Merchant registration
βββ styles/
β βββ globals.css # Global styles and Tailwind config
βββ public/ # Static assets
βββ package.json # Dependencies and scripts
βββ README.md # This file
- Client ID: Required for wallet connection
- Supported Chains: Currently configured for Ethereum, Polygon, and Mumbai testnet
- Active Chain: Set to Mumbai testnet for development
The project uses Tailwind CSS v4 with custom components:
.btn-primary: Primary button styling.btn-secondary: Secondary button styling.card: Card component styling.input-field: Form input styling
- Connect Wallet: Click "Connect Wallet" on the homepage
- Register: Choose "For Food Lovers" and complete the registration process
- Set Preferences: Select your favorite cuisines, dietary restrictions, and preferences
- Start Reviewing: Browse restaurants and write reviews
- Earn Badges: Gain NFT badges for consistent reviews
- Connect Wallet: Click "Connect Wallet" on the homepage
- Register: Choose "For Restaurants" and complete the merchant registration
- Add Details: Enter restaurant information, cuisines, and pricing
- Manage Menu: Add menu items with descriptions and prices
- Monitor Reviews: View customer feedback and analytics
- Wallet Authentication: Secure blockchain-based identity verification
- World ID Integration: Human verification to prevent bot attacks
- Confidence Scoring: AI-powered review reliability assessment
- Immutable Data: Blockchain storage for review integrity
- β User and Merchant Registration
- β Dashboard Implementation
- β Basic Review System
- β Wallet Integration
- Smart Contract Development
- NFT Badge System
- Review Voting Algorithm
- World ID Integration
- AI Recommendation Engine
- Crypto Payment System
- Advanced Analytics
- Mobile App
- 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
This project is licensed under the MIT License - see the LICENSE file for details.
If you encounter any issues:
- Check the Issues page
- Create a new issue with detailed information
- Contact the development team
- ThirdWeb for blockchain infrastructure
- Next.js for the React framework
- Tailwind CSS for styling
- Lucide for icons
Built with β€οΈ for the future of food reviews