This project is a Netflix Clone built for educational purposes.
# Clone Project
git clone https://github.com/your-username/netflix-clone.git
# Install Dependencies
cd netflix-clone
npm installCreate a .env file in the project root and add the following variables:
- NEXTAUTH_SECRET: Secret used for authentication
- NEXTAUTH_URL: Current project URL
- DATABASE_URL: Database URL used by prisma
- DIRECT_URL: Direct database URL used by prisma to make migrations
- TMDB_API_KEY: Your "The Movie Data Base" API key
# Create the file
touch .envTo start the development server, run:
npm run devOpen http://localhost:3000 to view the project.
Ensure your code adheres to the project's coding standards by running:
npm run lintTo build the project for production, use:
npm run buildTo start a server with the production build, run:
npm run start- Nextjs
- Prisma
- NextAuth.js
- Tailwindcss
- Formik
- Yup
- Shadcn
