Includes:
Project Structure
Complete directory layout
Database Schema
Tables and fields
API Endpoints
All routes documented
Security
Auth, RLS, protection
Includes:
User Features
Signup, browse, accept tasks, write reviews
Admin Features
Dashboard, verification, user management
Data Flow
Complete workflow from request to approval
Scenarios
Common use cases and logic
Perfect for new developers: Learn exactly what each feature does, step-by-step workflows, how data flows through the system, complete examples, and how everything connects together.
ReviewStars is a fair marketplace platform where Indian businesses can exchange authentic Google reviews.
For Businesses:
Request reviews → Set reward (2 Stars) → Reviewers complete → Get reviews
For Reviewers:
Browse tasks → Write review → Submit → Earn 1 Star
For Admin:
Verify reviews → Approve payments → Manage disputes
• Next.js 16 (React 19.2)
• TypeScript
• Tailwind CSS 4.1
• Radix UI Components
• SWR Data Fetching
• Next.js API Routes
• Supabase PostgreSQL
• RPC Functions
• Row-Level Security
• Vercel Blob Storage
• AI SDK 6.0 (Chat)
• Recharts (Graphs)
• Zod (Validation)
• React Hook Form
• Sonner Toasts
| Table | Purpose | Key Fields |
|---|---|---|
| profiles | User accounts & balances | id, email, stars_balance, is_admin |
| review_requests | Business review requests | id, requester_id, business_name, status |
| individual_reviews | Review tasks & status | id, assigned_to, status, approval_status |
| transactions | Star movement history | id, user_id, amount, type, description |
| support_tickets | User support requests | id, user_id, subject, status |
| broadcast_messages | System notifications | id, title, content, sent_at |
Clone Repository
git clone <repo-url>
Install Dependencies
npm install
Setup Environment
Copy .env.example to .env.local and add Supabase credentials
Run Development Server
npm run dev - Access at http://localhost:3000
Explore Admin Panel
Go to http://localhost:3000/review4admin (admin login required)
Get help from the support team
support@reviewstars.comView source code and contribute
View RepositoryBrowse FAQs and tutorials
Go to HelpCopyright © 2026 ReviewStars. All rights reserved.
A fair review marketplace built for Indian entrepreneurs.