A videso sharing application built using the MERN stack (MongoDB, Express, React, Node) with JWT authentication.
- User Authentication (Signup/Login) using JWT
- Upload and manage videos
- View videos with like and comment functionality
- User profiles
- Frontend: React.js, Redux, CSS
- Backend: Node.js, Express.js
- Database: MongoDB
- Authentication: JSON Web Tokens (JWT)
- Node.js
- npm or yarn
- MongoDB
-
Clone the repository
git clone https://github.com/your-username/youtube-clone.git cd youtube-clone -
Install dependencies for both server and client
# For server cd server npm install # For client cd ../client npm install
-
Set up environment variables
Create a
.envfile in theserverdirectory with the following content:MONGO_URI=your_mongo_db_connection_string JWT_SECRET=your_jwt_secret -
Run the application
# Start the server cd server npm start # Start the client cd ../client npm start