The BokehTV frontend is a high-performance, responsive web application built with Next.js 14 (App Router). It provides a seamless media exploration and tracking experience with a focus on modern UX aesthetics and performance.
- Framework: Next.js 14 (App Router)
- Language: TypeScript (Strict Mode)
- Styling: Tailwind CSS
- State Management: TanStack Query (Infinite Scroll and Cache-aside)
- Image Optimization: NextImage with TMDB remote patterns configured.
- SEO: Dynamic metadata API (Title Templates, OpenGraph, Twitter Cards).
- Deployment: Vercel
Copy the template and fill in your details:
cp .env.example .envEnsure you have NEXT_PUBLIC_API_URL pointing to your backend (default: http://localhost:5000/api/v1).
npm install
npm run devThe app will start at http://localhost:3000.
- React Suspense Skeletons: Dynamic loading states for movie grids and detail pages (no "layout-shifts").
- NextImage Optimization: Integrated TMDB image domain with custom
sizesandpriorityfor LCP optimization. - Server Component First: Logic is kept in server components wherever possible to minimize hydration costs.
- Dynamic Meta Tags: Automated title templates and OG/Twitter cards for all core routes.
- Robots & Sitemap: Auto-generated indexing protocols via the Next.js
metadataAPI. - Analytic Integration: Ready-to-use Vercel Analytics integration.
Automatic high-availability deployments to Vercel Edge Network for all PRs and merges to main.
Features "Wait for CI" gates to ensure only passing code hits production.
MIT