Skip to content

🎬 Modern streaming platform portfolio project showcasing Next.js 16, TypeScript, Prisma, and TMDB API integration. Full-stack application with authentication, content browsing, and responsive design.

License

Notifications You must be signed in to change notification settings

TechBeme/yuialive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎬 YUIALIVE - Modern Streaming Platform

Professional portfolio project showcasing a full-stack streaming platform with Next.js, TypeScript, and modern web technologies

Next.js TypeScript React Prisma Tailwind CSS

Features β€’ What You Get β€’ Quick Start β€’ Tech Stack β€’ Configuration β€’ License

Languages: πŸ‡§πŸ‡· PortuguΓͺs β€’ πŸ‡ͺπŸ‡Έ EspaΓ±ol


⚠️ Portfolio Project Disclaimer

This is a demonstration/portfolio project only. YUIALIVE does NOT stream actual video content and is not a functional streaming service.

This project represents an idealized concept - imagine a scenario where a super-producer acquired rights to all entertainment content and made it available on a single unified platform. It's a "dream scenario" for educational and portfolio purposes.


πŸ“‹ Table of Contents


🎯 Overview

YUIALIVE is a professional full-stack portfolio project that demonstrates the implementation of a modern streaming platform interface. Built with cutting-edge technologies, it showcases advanced frontend development, backend architecture, database design, and API integrations.

Key capabilities:

  • Modern, responsive UI inspired by leading streaming platforms
  • Complete authentication system with secure session management
  • Integration with TMDB API for 500,000+ movies and TV shows
  • Advanced search and filtering functionality
  • User profile management and watchlist features
  • Performance-optimized with Next.js 16 App Router
  • Production-ready code structure and best practices

πŸ‘¨β€πŸ’» About the Developer

Developed by Rafael Vieira (TechBeme)

GitHub Fiverr Upwork Email

Full-Stack Developer & AI Automation Specialist

Specialized in modern web applications, automation systems, AI integrations, and full-stack development.

πŸ’Ό Core Expertise

  • πŸ’» Full-Stack Development (Next.js, React, TypeScript, Node.js)
  • 🎨 Modern UI/UX Development (Tailwind CSS, Framer Motion, shadcn/ui)
  • πŸ—„οΈ Database Design & Optimization (PostgreSQL, Prisma, Supabase)
  • πŸ”’ Authentication & Security Systems (Better Auth, JWT, OAuth)
  • πŸ€– AI Integrations (OpenAI, Anthropic, Claude, RAG systems)
  • πŸš€ Performance Optimization & SEO
  • πŸ“± Responsive Design & Progressive Web Apps

🌍 Languages

πŸ‡ΊπŸ‡Έ English β€’ πŸ‡§πŸ‡· PortuguΓͺs β€’ πŸ‡ͺπŸ‡Έ EspaΓ±ol

πŸ“¬ Contact

Email: contact@techbe.me


✨ Key Features

User Interface & Experience

  • Modern Landing Page: Hero section with smooth animations and compelling CTAs
  • Responsive Navigation: Mobile-first navbar with search, notifications, and profile menu
  • Content Browsing: Netflix-style horizontal scrolling rows organized by categories
  • Media Details Pages: Comprehensive movie/TV show pages with cast, trailers, similar content
  • Advanced Search: Real-time search with filters by genre, year, rating, and more
  • Dark Mode: Eye-friendly dark theme with smooth transitions
  • Skeleton Loading: Professional loading states for better perceived performance

Authentication & User Management

  • Passwordless authentication via Email OTP (one-time code)
  • Session management with Better Auth
  • Protected routes and API endpoints
  • User profile management with avatar upload
  • Email change functionality
  • Account settings and preferences

Content Management

  • TMDB Integration: Access to 500,000+ movies and TV shows metadata
  • Dynamic Catalog: Browse by trending, popular, top-rated, upcoming
  • My List: Personal watchlist with add/remove functionality
  • Watch History: Track viewing progress with resume capability
  • Continue Watching: Quick access to recently watched content
  • Categories: Movies, TV Shows, by genre, by decade

Technical Excellence

  • Server-Side Rendering: Fast initial page loads with Next.js SSR
  • Image Optimization: Automatic WebP/AVIF conversion with Next.js Image
  • Type Safety: Full TypeScript coverage with strict mode
  • Error Handling: Comprehensive error boundaries and user-friendly error pages
  • API Rate Limiting: Protection against abuse
  • SEO Optimized: Meta tags, Open Graph, structured data
  • Core Web Vitals: Optimized for performance metrics
  • Modular Streaming: Backend-agnostic video player with secure proxy layer
  • Modular Payments: Gateway-agnostic payment system (Stripe, Mercado Pago, etc.)

πŸ“¦ What You Get

1. Complete Web Application

  • Next.js 16 application with App Router architecture
  • 20+ pages including landing, browse, media details, profile
  • 30+ reusable React components
  • Full authentication flow (OTP login via email)
  • Responsive design working on desktop, tablet, and mobile

2. Database Schema (PostgreSQL)

  • User: User accounts
  • Session: Secure session management
  • Plan: Subscription plans (1, 2, 4 screens)
  • Watchlist: User's saved content
  • WatchHistory: Viewing history with progress tracking
  • WatchProgress: Resume capability for each title

3. API Integration Layer

  • TMDB API client with error handling and retry logic
  • Authentication endpoints (OTP send, OTP verify, session)
  • Content endpoints (browse, search, details)
  • User endpoints (profile, watchlist, history)
  • Streaming endpoints (prepared structure)

4. Documentation

  • Comprehensive docs folder with guides and references
  • API documentation and guidelines
  • Development guidelines and coding standards
  • Project summary and architecture overview
  • Setup and configuration guides

5. Modular Streaming System 🎬

  • Backend-agnostic streaming architecture: Connect any video source
  • API proxy layer: Secure validation before accessing videos
  • Ready for integration: S3/CloudFront, Cloudflare R2, custom CDN, or any backend
  • Production-ready security: Authentication, plan validation, rate limiting support
  • Mock mode: Test with sample videos without configuring backend
  • Complete documentation: Implementation examples in Python, Node.js, Go

See: docs/STREAMING_API_IMPLEMENTATION.md for details

6. Modular Payment Integration πŸ’³

  • Gateway-agnostic payment system: Works with any payment provider
  • Zero code changes: Configure via environment variables only
  • External backend support: Stripe, Mercado Pago, PayPal, or custom
  • Secure webhooks: HMAC-SHA256 signature validation, idempotency
  • Development mode: Built-in checkout example for testing
  • Production-ready: Rate limiting, transaction logging, automatic plan updates
  • Provider system: Easily switch between payment providers
  • Complete documentation: Full implementation guide with examples

See: docs/PAYMENT_INTEGRATION.md for complete guide


πŸ› οΈ Technology Stack

Frontend (Next.js)

Technology Version Purpose
Next.js 16.1+ React framework with App Router
TypeScript 5.0+ Type-safe development
React 19.2+ UI library with Server Components
Tailwind CSS 4.0+ Utility-first CSS framework
Radix UI Latest Unstyled accessible components
Framer Motion 12.0+ Animation library for smooth transitions
Lucide React Latest Beautiful, consistent icon library
React Query 5.0+ Data fetching, caching, and synchronization
React Player 3.4+ Video player component
Sonner 2.0+ Toast notifications

Backend (Node.js)

Technology Version Purpose
Node.js 20+ JavaScript runtime environment
Prisma 7.3+ Next-generation ORM with type safety
PostgreSQL 15+ Relational database
Better Auth 1.4+ Modern authentication library with Email OTP
Axios 1.7+ HTTP client with interceptors

External APIs

Service Purpose
TMDB API Movie and TV show metadata (titles, posters, cast, trailers)

Development Tools & Infrastructure

Tool Purpose
ESLint Code linting and formatting
Jest Unit testing framework
Testing Library Component testing utilities
TypeScript Static type checking
Prisma Studio Database GUI

πŸš€ Quick Start

Prerequisites

Before you begin, ensure you have:

Option 1: Local Development (Recommended)

# 1. Clone the repository
git clone https://github.com/TechBeme/yuialive.git
cd yuialive

# 2. Install dependencies
npm install

# 3. Set up environment variables
cp .env.example .env.local
# Edit .env.local with your credentials (see Configuration section)

# 4. Set up database
npm run db:generate    # Generate Prisma client
npm run db:push        # Push schema to database
npm run db:seed        # (Optional) Seed with sample data

# 5. Run development server
npm run dev

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

Option 2: Production Build

# Build for production
npm run build

# Start production server
npm run start

Option 3: Database Management

# Open Prisma Studio (Database GUI)
npm run db:studio

# Create a new migration
npm run db:migrate

# View database in browser at http://localhost:5555

βš™οΈ Configuration

Environment Variables

Create a .env.local file in the root directory:

# Database (PostgreSQL)
# Example for Neon: postgresql://user:password@ep-xxx.us-east-2.aws.neon.tech/yuialive?sslmode=require
# Example for local: postgresql://postgres:password@localhost:5432/yuialive
DATABASE_URL="postgresql://user:password@host:5432/yuialive"

# TMDB API (get free key at https://www.themoviedb.org/settings/api)
TMDB_API_KEY="your_tmdb_api_key_here"
TMDB_API_BASE_URL="https://api.themoviedb.org/3"

# Authentication (generate random secure strings)
BETTER_AUTH_SECRET="your-secret-key-minimum-32-characters"
BETTER_AUTH_URL="http://localhost:3000"

# Next.js
NEXT_PUBLIC_APP_URL="http://localhost:3000"
NODE_ENV="development"

Database Options

The project supports multiple PostgreSQL providers:

Provider Type Best For
Neon Serverless Auto-scaling, generous free tier
Supabase Managed PostgreSQL + extras (auth, storage)
Railway Managed Simple deployment, fair pricing
Vercel Postgres Serverless Integrated with Vercel hosting
Local PostgreSQL Self-hosted Full control, zero costs

Available Commands

# Development
npm run dev              # Start development server (http://localhost:3000)
npm run build            # Build for production
npm run start            # Start production server
npm run lint             # Run ESLint
npm run lint:fix         # Fix linting errors automatically
npm run type-check       # Run TypeScript type checking

# Database
npm run db:generate      # Generate Prisma Client
npm run db:push          # Push schema changes to database
npm run db:migrate       # Create and apply migrations
npm run db:seed          # Seed database with sample data
npm run db:studio        # Open Prisma Studio (database GUI)

# Testing
npm run test             # Run all tests
npm run test:watch       # Run tests in watch mode

# Analysis
npm run analyze          # Analyze bundle size

πŸ“ License

Proprietary License - All Rights Reserved

Copyright Β© 2026 Rafael Vieira (TechBeme)

❌ Restrictions

  • No commercial use without explicit written permission
  • No modifications or derivative works
  • No distribution, sublicensing, or public hosting
  • No reverse engineering or decompilation
  • No removal of copyright notices or attributions

βœ… Permitted Use

  • View source code for educational and learning purposes
  • Run locally for personal, non-commercial study
  • Fork for private, personal learning (not public repositories)
  • Reference in portfolio, resume, or personal website

πŸ“§ Commercial Licensing

For commercial use, custom development, white-label solutions, or licensing inquiries:

Contact: contact@techbe.me


⚠️ Disclaimer

This project is a portfolio demonstration and is NOT a functional streaming service. It does NOT:

  • Stream actual video content
  • Provide access to copyrighted material
  • Function as a real streaming platform
  • Violate any content distribution rights
  • Encourage piracy or illegal content access

This is an educational project that demonstrates:

  • Modern web development skills
  • Full-stack application architecture
  • API integration techniques
  • UI/UX design capabilities

TMDB Attribution: This product uses the TMDB API but is not endorsed or certified by TMDB. All movie and TV show metadata is sourced from The Movie Database (TMDB) under their API terms of service.

Users are solely responsible for compliance with all applicable laws and regulations in their jurisdiction.


πŸ™ Acknowledgments

Built with amazing open-source technologies:

Next.js β€’ React β€’ TypeScript β€’ Tailwind CSS β€’ Prisma β€’ Radix UI β€’ Framer Motion β€’ Lucide Icons β€’ TMDB

Special thanks to the open-source community for making projects like this possible.


Developed by Rafael Vieira

GitHub Fiverr Upwork Email

About

🎬 Modern streaming platform portfolio project showcasing Next.js 16, TypeScript, Prisma, and TMDB API integration. Full-stack application with authentication, content browsing, and responsive design.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published