Slix is a full-stack movie streaming and review platform. The product hook is the sentiment analysis flow: admins write curator reviews, Azure OpenAI classifies the review tone, and the app stores that ranking so viewers can understand each title at a glance.
Live app:
- Frontend: https://magic-stream-movies-beige.vercel.app/
- Backend: https://magicstreammovies-c4go.onrender.com/
- Browse and stream a movie library.
- Register, log in, and keep session state with JWT-backed auth.
- Choose favorite genres for personalized recommendations.
- Admins can add movies and update curator reviews.
- Review submissions trigger Azure OpenAI sentiment classification.
- Movies expose stored sentiment labels such as Excellent or Terrible.
.
├── Client
│ └── magic-stream-client
│ ├── dist
│ │ ├── assets
│ │ │ ├── DailyMotion-CImVK--v.js
│ │ │ ├── Facebook-OFygb3T3.js
│ │ │ ├── FilePlayer-DG0jEAqr.js
│ │ │ ├── index-8uq-0dvI.js
│ │ │ ├── index-D25rQSWw.css
│ │ │ ├── Kaltura-KtgqCFBD.js
│ │ │ ├── Mixcloud-z0ALXqhH.js
│ │ │ ├── Mux-BwTplyl_.js
│ │ │ ├── Preview-DE96OMXL.js
│ │ │ ├── SoundCloud-qoXXwC02.js
│ │ │ ├── Streamable-D_btiK-u.js
│ │ │ ├── Twitch-CuH3aeCe.js
│ │ │ ├── Vidyard-7pcpZB8j.js
│ │ │ ├── Vimeo-DQVoEi3d.js
│ │ │ ├── Wistia-CsuGqb3S.js
│ │ │ └── YouTube-RTwryPYC.js
│ │ ├── favicon.svg
│ │ ├── index.html
│ │ └── vite.svg
│ ├── eslint.config.js
│ ├── index.html
│ ├── package-lock.json
│ ├── package.json
│ ├── public
│ │ ├── favicon.svg
│ │ └── vite.svg
│ ├── README.md
│ ├── src
│ │ ├── api
│ │ │ ├── apiBase.js
│ │ │ ├── axiosConfig.js
│ │ │ └── axiosPrivateConfig.js
│ │ ├── App.css
│ │ ├── App.jsx
│ │ ├── assets
│ │ │ ├── MagicStreamLogo.png
│ │ │ └── react.svg
│ │ ├── components
│ │ │ ├── addmovie
│ │ │ │ └── AddMovie.jsx
│ │ │ ├── header
│ │ │ │ ├── Header.jsx
│ │ │ │ └── SlixLogo.jsx
│ │ │ ├── home
│ │ │ │ └── Home.jsx
│ │ │ ├── Layout.jsx
│ │ │ ├── login
│ │ │ │ └── Login.jsx
│ │ │ ├── movie
│ │ │ │ ├── Movie.css
│ │ │ │ └── Movie.jsx
│ │ │ ├── movies
│ │ │ │ └── Movies.jsx
│ │ │ ├── recommended
│ │ │ │ └── Recommended.jsx
│ │ │ ├── register
│ │ │ │ └── Register.jsx
│ │ │ ├── RequiredAuth.jsx
│ │ │ ├── review
│ │ │ │ └── Review.jsx
│ │ │ ├── spinner
│ │ │ │ └── Spinner.jsx
│ │ │ └── stream
│ │ │ ├── StreamMovie.css
│ │ │ └── StreamMovie.jsx
│ │ ├── context
│ │ │ └── AuthProvider.jsx
│ │ ├── hooks
│ │ │ ├── useAuth.jsx
│ │ │ └── useAxiosPrivate.jsx
│ │ ├── index.css
│ │ └── main.jsx
│ ├── vercel.json
│ └── vite.config.js
├── README.md
└── Server
└── MagicStreamMoviesServer
├── controllers
│ ├── movie_controller.go
│ └── user_controller.go
├── database
│ └── database_connection.go
├── go.mod
├── go.sum
├── MagicStreamMoviesServer
├── main.go
├── middleware
│ └── auth_middleware.go
├── models
│ ├── movie_model.go
│ └── user_model.go
├── render.yaml
├── routes
│ ├── protected_routes.go
│ └── unprotected_routes.go
└── utils
└── token_utils.go
31 directories, 71 files
Backend:
cd Server/MagicStreamMoviesServer
cp .env.example .env
go run main.goFrontend:
cd Client/magic-stream-client
cp .env.example .env
npm install
npm run devFor local frontend development, set:
VITE_API_BASE_URL=http://localhost:8080Render backend environment:
ALLOWED_ORIGINS=https://magic-stream-movies-beige.vercel.app,https://magic-stream-movies-mqznysux4-sankalp-jhas-projects.vercel.app
COOKIE_DOMAIN=magicstreammovies-c4go.onrender.com
MONGODB_URI=...
DATABASE_NAME=...
SECRET_KEY=...
SECRET_REFRESH_KEY=...
AZURE_OPENAI_API_KEY=...
AZURE_OPENAI_BASE_URL=...
AZURE_OPENAI_DEPLOYMENT_NAME=...
BASE_PROMPT_TEMPLATE=...Vercel frontend environment:
VITE_API_BASE_URL=https://magicstreammovies-c4go.onrender.com
VITE_GOOGLE_CLIENT_ID=...If the frontend shows a CORS error, check both sides:
- Vercel must not point to the old backend
https://slix-backend.onrender.com. - Render
ALLOWED_ORIGINSmust include the exact Vercel origin. Preview deployments look likehttps://magic-stream-movies-...vercel.app. - Redeploy both services after changing environment variables.
Public:
GET /moviesGET /genresPOST /registerPOST /loginPOST /logoutPOST /refreshPOST /google-login
Protected:
GET /movie/:imdb_idGET /recommendedmoviesPOST /addmoviePATCH /updatereview/:imdb_idPATCH /updatestreamurl/:imdb_idPATCH /updategenres
