A full-stack application for watching movies together with friends.
- Real-time movie watching with friends
- Voice chat functionality
- Movie search and selection
- Room-based system
- User authentication
- Frontend: React, Vite, Socket.io-client
- Backend: Node.js, Express, Socket.io, MongoDB
- Database: MongoDB
- Deployment: Vercel (Frontend) + Render (Backend)
MONGODB_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret
PORT=5000
NODE_ENV=production
TMDB_API_KEY=your_tmdb_api_key
CLIENT_URL=your_frontend_url
VITE_API_URL=your_backend_url
VITE_SOCKET_URL=your_backend_url
cd server
npm install
npm run dev
cd client
npm install
npm run dev
- Connect your GitHub repository
- Set environment variables
- Deploy with build command:
npm install
- Start command:
npm start
- Connect your GitHub repository
- Set root directory to
client
- Set environment variables
- Deploy automatically
POST /api/auth/register
- User registrationPOST /api/auth/login
- User loginGET /api/movies/trending
- Get trending moviesGET /api/movies/search
- Search moviesPOST /api/rooms
- Create roomGET /api/rooms/:id
- Get room details