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.
Published by Shrey Kharbanda on July 15, 2023
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.
To set up the AlgoReady API Server locally, follow these steps:
- Clone the repository:
git clone https://github.com/shreykharbanda31/APIAlgoReady.git- Navigate to the project directory:
cd APIAlgoReady- Install dependencies:
npm install- Start the server:
npm start- The server will run on
http://localhost:3000This endpoint returns a collection of Data Structures and Algorithms video resources in JSON format.
[
{
"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
]Contributions to the AlgoReady API Server are welcome! If you would like to contribute, please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature- Make your changes and commit them:
git commit -m "Add your feature"- Push to the branch:
git push origin feature/your-feature- Submit a pull request.
The AlgoReady API Server is released under the MIT License.
Notice any issues with a repository? Please file a github issue in the repository.
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!