Skip to content

This project is a backend application that provides APIs for managing YouTube Subscribers.

Notifications You must be signed in to change notification settings

SakshamAgrawall/Get_Youtube_subscribers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Almabetter Capstone Project - Get Youtube Subscribers

This project is a backend application that provides APIs for managing YouTube Subscibers.

We have to create a backend api which will send the response in form of JSON, by using modular coding approach which contains having different files for the api connection, the database should be handled by another file.

The APIs provided by this application include the following:

✅GET [http://localhost:3000/subscribers] - Response with an array of subscribers(an Object).

✅GET [http://localhost:3000/subscribers/names] - Response with an array of subscribers(an Object with only two fields name and subscribedChannel).

✅GET [http://localhost:3000/subscribers/:id] - Response with a subscriber*(an object)* with given id & Response with status code 400 and Error message({message: error.message}) if id does not match.

Prerequisites

Before running this application, you must have the following softwares:

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

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

How To Run Locally

  • To run this project locally, use the following command in your CLI:
  1. Clone this repository:
 git clone https://github.com/SakshamAgrawall/Get_Youtube_subscribers.git
  1. Install dependencies:
 npm i
  1. Create a .env file and add monogodb uri

  2. Create a database:

cd src
node createDatabase.js
  1. Start the application:
 npm run start
  • Go to any Browser and search localhost:3000

Characteristics

  • User can get the all subscribers.
  • User can get the all subscriber with only name and subscribedchannel.
  • user can get the subscriber by id.

🛠 Skills

MongoDB | Nodejs | express | Mongoose

NOTE

This capstone project is associated with Almabetter

About

This project is a backend application that provides APIs for managing YouTube Subscribers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published