ContactAssistApp / ContactAssistApp/dashboard
Use promise-based http requests instead of callback-based
Open
- Dominant language
- JavaScript
- Stars
- 9
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
We are currently using https module to make http requests, which takes in a callback. When you have to make multiple requests, this makes the code very hard to follow. We should use a promise-based approach instead. Axios is a popular library for doing this.
Contributor guide
Research direction
Start by locating the dashboard's uses of the Node.js https module and trace the call sites that make multiple requests. Replace the callback-based request flow with a promise-based approach, then verify that the existing HTTP request behavior is preserved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100