Skip to content

mky120799/YouTube-Subscriber--Backened

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Youtube Backend

Description

This project serves as the backend for a YouTube-like platform, providing APIs for managing channels like adding, deleting, updating, subscribers, and subscriptions of a channel.

Live

Table of Contents

  1. Technologies Used
  2. Installation
  3. Features
  4. Routes
  5. Folder Structure
  6. Acknowledgement
  7. Project History
  8. Contributors
  9. License

Technologies Used

  • Node.js
  • Express.js
  • EJS
  • Mongoose
  • MongoDB
  • HTML
  • CSS
  • Tailwind CSS
  • JavaScript

Installation

  1. Clone the repository.
  2. Navigate to the folder and run npm install to install backend dependencies.
  3. Run node index.js to start the backend server.

Features

  • Lots of youtube backend api
  • A simple user interface for visualization
  • Free to use any api

Routes

SN Route Method Details
1 /yt/all GET Get all channels
2 /yt/names GET Get all channel names
3 /yt/:channelId/subscribers GET Get all subscribers of a channel
4 /yt/:channelId/subscriptions GET Get all subscriptions of a channel
5 /yt/:channelId/subscribe POST Subscribe to a channel
6 /yt/addChannel POST Add a new channel
7 /channelId/delete DELETE Delete a channel
8 /channelId/update PUT Update a channel

Folder Structure

|-- src
    |-- assets 
    |-- controllers 
    |-- data
    |-- models 
    |-- routes 
    |-- views
    |-- connectionDB.js 
|-- index.js
|-- package.json
|-- package-lock.json

Acknowledgments

Project History

  • First Commit : February 23, 2024
  • First Release : February 28, 2024
  • Updated Release : May updated the project for learning purpose.

Contributors

License

You are free to:

  • Use — the software for any purpose
  • Share — Copy and redistribute the material in any medium or format
  • Adapt — Remix, transform, and build upon the material

Under the following terms:

  • Attribution — You must give appropriate credit.
  • NonCommercial — You may not use material for commercial purposes.

Thank You

Releases

No releases published

Packages

No packages published