WatchList is a React + Node.js app with Google OAuth login, TMDB search, and MongoDB-backed watchlist/watchedlist tracking.
- Node.js 20+
- Docker and Docker Compose
- Google OAuth client
- TMDB API read access token
- MongoDB (Atlas or local)
Copy these templates and fill your own values:
cp server/.env.example server/.envcp watchlist/.env.example watchlist/.env
- Start backend:
cd servernpm installnpm run dev
- Start frontend:
cd watchlistnpm installnpm run dev
From repo root:
docker compose up --build
Default local URLs:
- Frontend:
http://localhost:5173 - Backend:
http://localhost:3000
Configure entries in Google Cloud Console:
- Authorized JavaScript origins:
http://localhost:5173- your production frontend origin
- Authorized redirect URIs:
http://localhost:3000/api/auth/google/callback- your production callback URL
These must match FE_BASE_URL and GOOGLE_REDIRECT_URI used by the running backend.
- Tracking rewatches
- Local storage alternative for guest sessions
- Timestamps