Youtube clone using React, Node, MongoDB and Firebase. MERN stack app with Redux Toolkit, JWT Cookies and Firebase Storage.
To set up the project locally, follow these steps:
Clone the repository:
git clone https://github.com/dipak-kumawat/YouTube.git
Navigate to the project directory:
cd YouTube
Install server dependencies:
cd server
npm install
Install client dependencies:
cd ../client
npm install
Set up environment variables:
Create a .env
file in the server
directory and add the following:
MONGO = mongodb+srv://dipaksk11:dipak@youtube.qytcjz0.mongodb.net/?retryWrites=true&w=majority&appName=Youtube
MONGO_DB = "youtube"
JWT = "gopikishan"
Start the server:
cd ../server
npm start
Start the client:
Open a new terminal window and navigate to the client
directory:
npm start
http://localhost:3000
to view the YouTube frontend.YouTube/
│
├── client/ # React frontend
│ ├── public/ # Public assets
│ └── src/ # React components and application logic
│ └── ...
│
├── server/ # Express backend
│ ├── config/ # Configuration files
│ ├── controllers/ # Request handlers
│ ├── models/ # Mongoose models
│ ├── routes/ # API routes
│ └── ...
│
└── README.md # This README file
Contributions are welcome! If you have any suggestions or improvements, please create a pull request or open an issue.
git checkout -b feature/YourFeature
).git commit -m 'Add some feature'
).git push origin feature/YourFeature
).This project is licensed under the MIT License. See the LICENSE file for details.
For any inquiries or feedback, please contact us at:
Thank you for using YouTube – a video sharing platform!