Closed singhcoder694 closed 8 months ago
The recent update involves refactoring the codebase, where the functionality for fetching resources from Cloudinary has been encapsulated into a separate module getResourcesDBApis.js
. Additionally, a new endpoint /getresources
has been established in addResource_routes.js
to handle GET requests, which now utilize the getResources
function from the new module.
File Path | Change Summary |
---|---|
controllers/getResourcesDBApis.js |
Extracted logic for retrieving resources data from Cloudinary. |
routes/addResource_routes.js |
Added new route /getresources to handle GET requests. |
🐇 In the burrow of code, I hop and refactor,
🌟 Streamlining the routes, a digital actor.
🌐 A new path I lay, for data to flow,
🎉 Celebrate the change, let the Cloudinary glow!
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
This PR is missing a Jira ticket reference in the title or description. Please add a Jira ticket reference to the title or description of this PR.
Added API of getResources from cloudinary in backend. #1
Summary by CodeRabbit
New Features
/getresources
to facilitate the retrieval of resources data.Refactor
Documentation