Skip to content

vootavenkatesh/Youtube-subscribers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Capstone Project:- GET Youtube-Subscribers-Backend


This is a capstone project by using node.js, express app to get the details of the Youtube Subscribers in json format.

There are four API endpoints in this app:

1 - "/ "

2 - "/subscribers "

3 - "/subscribers/names "

4 - "/subscribers/:id "

About API Endpoints:

1."/" default route- when app gets started this default route will render index.html file. [https://youtube-subscribers-phi.vercel.app/]

2."/subscribers"- Returns the arrays of Subscribers. [https://youtube-subscribers-phi.vercel.app/subscribers]

3."/subscribers/names"- Returns the array of Subscriber's names and subscribed channel. [https://youtube-subscribers-phi.vercel.app/names]

4."/subscriber/:id"-Returns the array of Subcribers details which is fetched using the id given. [https://youtube-subscribers-phi.vercel.app/subscribers/:id]

Prerequisites

Before running this application, you must have following softwares:

.vscode: https://code.visualstudio.com/Download

.gitbash: https://git-scm.com/downloads

node.js: https://nodejs.org/en

MongoDB:https://www.mongodb.com/try/download

Postman: https://www.postman.com/downloads/

RUN Locally

Clone the project

 git clone https://github.com/vootavenkatesh/Youtube-subscribers

Install dependencies

nodemon

mongoose

mongodb

cors

dotenv

express

cross-env

supertest

start the server

npm run server

Author

-@venkatesh -@Dharani

Watch Youtube video at:

https://youtu.be/ww2VAi_6MNc

DEPLOYMENT:


https://youtube-subscribers-phi.vercel.app/

🛠 skills

|MongoDB |Node.js |express.js |Mongoose

Thank you