This project is a centralized YouTube backend application. It provides functionalities similar to YouTube, allowing channel owners to manage their content, users to interact with videos, and administrators to oversee the database.
- Channel owners can:
- Tweet
- Upload videos
- Choose thumbnail, title, and description for videos
- Save videos in playlists
- Users can:
- Like and dislike videos
- Subscribe to channels
- Comment on videos
- Admin Dashboard:
- Allows administrative tasks such as managing database entries
- Utilizes MongoDB aggregation pipelines for efficient data handling
- Environment Variables:
- Utilizes environment variables for sensitive information and configuration settings
- Database: MongoDB
- Server Framework: Express.js
- Database Modeling: Mongoose
- Authentication and Authorization: Bycrypt, JWT, cookie-parser
- File Uploading: Multer, Cloudinary
- API Testing: Postman
- Eraser
- Postman API'S:API endpoints
- Clone the repository:
https://github.com/Sana348/Backend-Javascript
- Install dependencies:
npm install
- Set up environment variables: Create a
.env
file and add necessary variables - Start the server:
npm start
- Ensure all APIs are working as expected using Postman
- Test functionality and edge cases thoroughly
Contributions are welcome! Please open an issue or pull request for any improvements or bug fixes.
This project is licensed under the MIT License.