A full-stack Netflix clone built with Vite + React on the frontend and Node.js + Express on the backend.
✅ Browse Movies & TV Shows
✅ Responsive slider UI
✅ Secure Authentication (cookies, protected routes)
✅ Dynamic fetching from TMDB API
✅ Protected API routes on backend
✅ Scrollable carousels with smooth animations
✅ Deployment-ready build (production config included)
- Vite + React
- React Router
- Axios
- Lucide Icons
- Tailwind CSS (or other utility classes if you’re using them)
- Node.js
- Express.js
- MongoDB (if using for auth/user data)
- Cookie-Parser
- CORS
git clone https://github.com/yourusername/netflix-clone.git
cd netflix-clonecd Frontend
npm install
npm run dev- Runs the frontend on Vite dev server (usually http://localhost:5173)
cd Backend
npm install
npm run dev- Runs Express server on your configured port (e.g. http://localhost:5000)
Create a .env file in your backend directory:
PORT=5000
MONGO_URI=your_mongo_connection_string
TMDB_API_KEY=your_tmdb_api_key
NODE_ENV=development
To build the frontend:
cd Frontend
npm run buildThis outputs a static site into /dist. Your Express backend is configured to serve this in production.
PRs welcome! Feel free to open issues or suggestions.
Built with ❤️ by jb17899