Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
H

Hotflix

> 前端框架
Open source

This project landed me an interview with Netflix!

194 stars0 likes6 views
WebsiteGitHub

About

This project landed me an interview with Netflix!

Hotflix: A Netflix Clone

This project got 3.6k upvotes on Reddit and landed me an interview with Netflix
 

View Demo »


Report Bug
·
Request Feature

Table of Contents

About The Project

Built With

Getting Started

Prerequisites

Installation

Usage

Contact

About The Project

Built With

  • Next.js
  • NextAuth
  • styled-components
  • MongoDB
  • TMDb API

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

Install latest version of npm

  • npm
    bash
    npm install npm@latest -g

Installation

  1. Clone the project
    bash
    git clone https://github.com/Halmesn/.git
  2. Go to project directory and Install NPM packages
    bash
    npm install
  3. Create a .env.local file
  4. Request an API key from TMDB and add it to .env.local file
    bash
    NEXT_PUBLIC_TMDB_API_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  5. Create a database at MongoDB and add connection url to .env.local file
    bash
    MONGODB_DATABASE=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  6. Add a next-auth host url to .env.local file
    bash
    NEXTAUTH_URL=http://localhost:3000
  7. Create a trial account at your database, adjust the email address in AuthForm onTrialClick function and add it's password to .env.local file
    bash
    NEXT_PUBLIC_TRIAL_ACCOUNT_PASSWORD=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  8. Start the application
    bash
    npm next start

Usage

Creating an Account

  1. Go to Sign Up page.
    • From the homepage, enter your email and click 'Get Started'.
    • From Sign In page, click the 'Sign up now' link below 'Sign In' button.
  2. Input the necessary fields. Don't worry. It won't take long.
    • Both email and phone number has to be unique.
    • Or just click the trial account button, the email and password will be filled automatically for you.
  3. After signing up, you'll receive a success message, then you can sign in.
    • Your email and password will be filled automatically for you.

Logging In

  1. Go to Sign In page.
    • From the homepage, click 'Sign in' button.
    • From Sign Up page, click the 'Sign in now' link below 'Sign Up' button.
  2. Input the necessary fields and proceed.
    • You can sign in using either email or phone number.
    • You can also sign in with your google or facebook account.

Searching for a Show

  1. Log in and add a profile if you don't already have one or selected a profile.'
  2. Click the appropriate tab for your search.
    • If searching for a movie, click 'Movies' tab in the header.
    • If searching for a series, click 'TV Shows' tab in the header.
  3. Click the search icon on the header.
  4. Input your search term.
  5. To go back to browse page, click the 'back' arrow in the left top corner.

Adding User Profile

  1. Log in to your account.
  2. Click 'Manage Profiles'.
  3. Click 'Add Profile'.
    • You can only add up to 5 profiles for each account.
  4. Click the pencil/edit icon and choose your preferred avatar.
  5. Enter your preferred display name and click 'Save'.
    • You can't use avatars and names already used by other profiles in the same account.

Editing User Profile

  1. Log in to your account.
  2. Click 'Manage Profiles'.
  3. Click the profile you wish to edit.
  4. Modify the profile as you see fit and click 'Save'.

Deleting User Profile

  1. Log in to your account.
  2. Click 'Manage Profiles'.
  3. Click the profile you wish to delete.
  4. Click 'Delete Profile'.
  5. Confirm deletion by clicking 'Yes'.

Contact

Adrian Li - LinkedIn - [email protected]

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

JavaScriptnetflixnextjs

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架