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.
- It is deployed on Vercel Live Link.
- https://youtube-subscriber-backened-mithilesh.vercel.app/
- Technologies Used
- Installation
- Features
- Routes
- Folder Structure
- Acknowledgement
- Project History
- Contributors
- License
- Node.js
- Express.js
- EJS
- Mongoose
- MongoDB
- HTML
- CSS
- Tailwind CSS
- JavaScript
- Clone the repository.
- Navigate to the folder and run
npm install
to install backend dependencies. - Run
node index.js
to start the backend server.
- Lots of youtube backend api
- A simple user interface for visualization
- Free to use any api
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 |
|-- src |-- assets |-- controllers |-- data |-- models |-- routes |-- views |-- connectionDB.js |-- index.js |-- package.json |-- package-lock.json
- EJS
- Tailwind CSS
- Express.js
- Mongoose
- First Commit : February 23, 2024
- First Release : February 28, 2024
- Updated Release : May updated the project for learning purpose.
- Mithilesh Yadav
- You are welcome to contribute here!
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.