Nextflix is NOT NETFLIX, but it's a netflix clone built with Next.js, Prisma, TypeScript, TailwindCSS, MongoDB 😉.
I made this project for fun and to learn more about Next.js, Prisma, TypeScript, TailwindCSS, MongoDB, but this could be a good starting point for a streaming platform project similar to Netflix (literally a clone 😅).
Create a .env file in the root folder of the app
Add the following for a dev environment:
DB=mongodb://USERNAME:PASSWORD@HOST/DATABASE
NEXTAUTH_JWT_SECRET="NEXT-JWT-SECRET"
NEXTAUTH_SECRET="NEXT-SECRET"
NODE_ENV="development"
OR use the following for production:
DB=mongodb://USERNAME:PASSWORD@HOST/DATABASE
NEXTAUTH_JWT_SECRET="NEXT-JWT-SECRET"
NEXTAUTH_SECRET="NEXT-SECRET"
NODE_ENV="production"