Skip to content

shreykharbanda31/APIAlgoReady

Repository files navigation

AlgoReady API Server

The AlgoReady API Server is a backend server that provides access to a collection of Data Structures and Algorithms video resources. It serves as the backend for the AlgoReady For Free Android app, enabling users to access curated video data through a simple API.

APIAlgoReady

Published by Shrey Kharbanda on July 15, 2023

Features

The AlgoReady API Server incorporates the following features:

  • Mongoose : Uses Mongoose library to interact with a MongoDB database.
  • Express Framework : Implements the Express framework to handle HTTP requests and define API routes.
  • CORS Middleware : Utilizes the CORS middleware to handle Cross-Origin Resource Sharing.
  • Serverless Deployment : Supports serverless deployment using the serverless-http package.

Installation

To set up the AlgoReady API Server locally, follow these steps:

  1. Clone the repository:
git clone https://github.com/shreykharbanda31/APIAlgoReady.git
  1. Navigate to the project directory:
cd APIAlgoReady
  1. Install dependencies:
npm install

Usage

  1. Start the server:
npm start
  1. The server will run on
http://localhost:3000

API Endpoints

GET /youtubedata

This endpoint returns a collection of Data Structures and Algorithms video resources in JSON format.

Example Response

[
  {
    "videoName": "Big-O",
    "videoId": "ei-A_wy5Yxw",
    "videoImg": "https://raw.githubusercontent.com/shreykharbanda31/APIAlgoReady/main/AlgoReady%20Posters/BigO.png"
  },
  {
    "videoName": "Arrays",
    "videoId": "tI_tIZFyKBw",
    "videoImg": "https://raw.githubusercontent.com/shreykharbanda31/APIAlgoReady/main/AlgoReady%20Posters/Arrays.png"
  },
  // ... more video resources
]

Contributing

Contributions to the AlgoReady API Server are welcome! If you would like to contribute, please follow these steps:

  1. Fork the repository.
  2. Create a new branch:
git checkout -b feature/your-feature
  1. Make your changes and commit them:
git commit -m "Add your feature"
  1. Push to the branch:
git push origin feature/your-feature
  1. Submit a pull request.

License

The AlgoReady API Server is released under the MIT License.

Report Issues

Notice any issues with a repository? Please file a github issue in the repository.

Contact

If you have any questions, suggestions, or feedback, please feel free to reach out at shrey.kharbanda@nyu.edu.

Enjoy using the AlgoReady API Server!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors