Professional portfolio project showcasing a full-stack streaming platform with Next.js, TypeScript, and modern web technologies
Features β’ What You Get β’ Quick Start β’ Tech Stack β’ Configuration β’ License
Languages: π§π· PortuguΓͺs β’ πͺπΈ EspaΓ±ol
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.
- Overview
- About the Developer
- Key Features
- What You Get
- Technology Stack
- Quick Start
- Configuration
- License
- Disclaimer
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
Developed by Rafael Vieira (TechBeme)
Full-Stack Developer & AI Automation Specialist
Specialized in modern web applications, automation systems, AI integrations, and full-stack development.
- π» 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
πΊπΈ English β’ π§π· PortuguΓͺs β’ πͺπΈ EspaΓ±ol
Email: contact@techbe.me
- 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
- 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
- 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
- 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.)
- 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
User: User accountsSession: Secure session managementPlan: Subscription plans (1, 2, 4 screens)Watchlist: User's saved contentWatchHistory: Viewing history with progress trackingWatchProgress: Resume capability for each title
- 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)
- 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
- 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
- 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
| Service | Purpose |
|---|---|
| TMDB API | Movie and TV show metadata (titles, posters, cast, trailers) |
| Tool | Purpose |
|---|---|
| Code linting and formatting | |
| Jest | Unit testing framework |
| Testing Library | Component testing utilities |
| TypeScript | Static type checking |
| Prisma Studio | Database GUI |
Before you begin, ensure you have:
- Node.js 20+ installed (Download)
- PostgreSQL database (local or cloud provider like Neon, Supabase, Railway)
- TMDB API key (free at https://www.themoviedb.org/settings/api)
# 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 devOpen http://localhost:3000 to see the application.
# Build for production
npm run build
# Start production server
npm run start# Open Prisma Studio (Database GUI)
npm run db:studio
# Create a new migration
npm run db:migrate
# View database in browser at http://localhost:5555Create 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"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 |
# 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 sizeProprietary License - All Rights Reserved
Copyright Β© 2026 Rafael Vieira (TechBeme)
- 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
- 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
For commercial use, custom development, white-label solutions, or licensing inquiries:
Contact: contact@techbe.me
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.
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