watchandearn

Watch & Earn - Live Streaming Platform

A revolutionary live streaming platform where viewers earn real money for verified watch-time, and streamers pay to go live.

Features

For Viewers

For Streamers

Tech Stack

Getting Started

Prerequisites

Installation

  1. Clone the repository
    git clone <repository-url>
    cd watch-and-earn-platform
    
  2. Install dependencies
    npm install
    
  3. Set up environment variables
    cp .env.example .env
    # Edit .env with your configuration
    
  4. Set up the database
    npm run db:generate
    npm run db:push
    
  5. Run the development server
    npm run dev
    

Open http://localhost:3000 to see the application.

Project Structure

├── app/                    # Next.js app directory
│   ├── auth/              # Authentication pages
│   ├── dashboard/         # User dashboards
│   ├── live/              # Live streaming pages
│   ├── wallet/            # Wallet and payouts
│   ├── pricing/           # Pricing pages
│   ├── admin/             # Admin panel
│   ├── legal/             # Legal pages
│   └── api/               # API routes
├── components/            # Reusable components
│   ├── ui/                # shadcn/ui components
│   └── ...                # Feature components
├── lib/                   # Utility functions
├── prisma/                # Database schema
└── public/                # Static assets

Key Features Implementation

Anti-Fraud System

Monetization

Streaming Technology

Environment Variables

See .env.example for all required environment variables.

Key variables:

Deployment

Frontend (Vercel)

npm run build
# Deploy to Vercel

Backend

Database

Security Considerations

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

License

This project is proprietary. All rights reserved.

Support

For support, email support@watchearn.com or create an issue in the repository.