A Netlfix clone where Users can get authenticated to watch Movies, Series of the different genres available in the list category. The Admin can add Movies, and Series and can categorise them in different lists. All the CRUD operations on Users, Movies/Series, and Lists have been implemented using REST APIS.
- Create a
api/.env
file that contains
MONGOATLASPASWORD=
PORT=3001
MONGOURL=
SECRET_KEY_FOR_CRYPTOJS=
- Create a
admin/.env
file that contains
PORT=5000
- Create a
admin/src/firebase.js
that contains
import firebase from "firebase";
//replace your keys
const firebaseConfig = {
apiKey: "",
authDomain: "",
projectId: "",
storageBucket: "",
messagingSenderId: "",
appId: "",
measurementId: "",
};
firebase.initializeApp(firebaseConfig);
const storage = firebase.storage();
export default storage;
-
In the first terminal, run:
cd api && npm i
, then run:node start
-
In the second terminal, run:
cd client && npm i
, then run:npm run start
-
In the third terminal, run:
cd admin && npm i
, then run:npm run start
-
Client(Netflix) will be available on
http://localhost:3000/
and Admin(Neflix Panel) will be available onhttp://localhost:3001/
- ReactJS: For client (Netflix) and admin (Netflix Admin Panel)
- CSS/SCSS: For styling components
- NodeJs/ExpressJs: For creating REST APIS and handling database
- JWT: For authentication and authorization of users/admins
- MongoDB: For performing CRUD operations on Movies/Series/List and storing documents of Users/Movies/List
- Firebase: For uploading images and videos for each movie/series
- Postman: For API testing