Skip to content

manav-01/backend

Repository files navigation

VideoTube – Video Streaming Platform (Backend)

Overview

VideoTube is a video streaming platform built with a focus on scalable and efficient backend architecture. The backend is powered by Express.js and MongoDB, providing a reliable and responsive environment for video content management, user authentication, and video streaming.

Key Features

  • User Authentication: Secure login and registration system.
  • Video Uploading: Allows users to upload video content.
  • Video Streaming: Stream video content with high performance.
  • Commenting System: Users can engage by commenting on videos.
  • Playlist Management: Users can create and manage their playlists.

Tech Stack

Project Structure

/src
 ├── config/         # Configuration files
 ├── controllers/    # Request handling logic
 ├── models/         # MongoDB models (Mongoose schemas)
 ├── routes/         # API routes
 └── utils/          # Utility functions

Installation

  1. Clone the repository:

    git clone https://github.com/manav-01/backend.git
  2. Navigate to the project directory:

    cd backend
  3. Install dependencies:

    npm install
  4. Set up your .env file with the necessary environment variables (e.g., database connection string, API keys).

  5. Start the development server:

    npm run dev

API Documentation

The API documentation is available on Postman, providing detailed information about all the available endpoints.

Database Model

The MongoDB database model for VideoTube is outlined in the ER diagram below:

Running Locally

To run this project locally, ensure you have Node.js and MongoDB installed. Set up your .env file to include your MongoDB connection URI and other configuration parameters. Use the command npm run dev to start the server in development mode.

Contributing

Contributions are welcome! If you'd like to improve the project, feel free to submit a pull request or open an issue on GitHub.

License

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

Links

About

Repo for the Backend Learning

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published