Skip to content

MERN stack-based backend server for a YouTube clone, providing user authentication, video management, and subscription features.

License

Notifications You must be signed in to change notification settings

ZeeshanMukhtar1/YT-Backend

Repository files navigation

YouTube - Backend Implementation

Welcome to the MERN YouTube Backend, a modern and production-ready implementation for managing user accounts, tweets, videos, and more. This project follows industry-standard practices and incorporates modern token-handling techniques for enhanced security. This backend provides a solid foundation for building a modern web application.

Features

  • ✨ Secure user authentication
  • 🤖 User account management
  • 🎬 Video management
  • 🐦 Tweet management
  • 🔐 Token handling
  • 📤 File upload with Cloudinary & Multer
  • 🗄 Storing files locally and in Cloudinary
  • 📁 Multer for file upload
  • 🚀 Modern database setup
  • 🚨 Custom error handling
  • And much more...

Getting Started

To get started, simply clone the repository and run npm install to install the dependencies. Then, set up your environment variables and run npm run dev to start the server.

Environment Variables

The environment variables are stored in a .env file. You can find the .env.sample file in the root directory of the project. Copy the .env.example file and create a .env file. Fill in the environment variables with your values.

Contributing

Contributions are welcome! If you would like to contribute to the project, fork the repository and create a pull request. We will review your pull request and merge it if it meets the project's standards.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgements

About

MERN stack-based backend server for a YouTube clone, providing user authentication, video management, and subscription features.

Topics

Resources

License

Stars

Watchers

Forks