✏️ Summary
Replace Bluebird promises with native JS promises in all modules and convert to TypeScript.
📋 Description
We're using Bluebird promises in modules like here: https://github.com/worknenjoy/gitpay/blob/master/src/modules/users/userAccount.js, and we want to replace them with native JS promises as discussed here:
#978
And convert to TypeScript and use async/await.
We have many API tests, so the tests should continue to pass, and no additional tests are needed for this.
🔍 Steps to Reproduce (or trigger)
- Run the project locally
- Run the Node server
- Run the front-end server
- Create a user
Check how to run the project locally here: https://github.com/worknenjoy/gitpay/blob/master/README.md.
✅ Expected Behavior
The tests should continue to pass, and the platform should continue working as it is today.
🛠️ Stack Affected
Node.js
💰 Is there a bounty for this issue?
No
📜 Bounty Details (if applicable)
Unfortunately, this issue is not part of our bounty program, and you should work on it as a contributor.
For a starter contributor, it could be a good chance to get your PR reviewed and get some experience.
✏️ Summary
Replace Bluebird promises with native JS promises in all modules and convert to TypeScript.
📋 Description
We're using Bluebird promises in modules like here: https://github.com/worknenjoy/gitpay/blob/master/src/modules/users/userAccount.js, and we want to replace them with native JS promises as discussed here:
#978
And convert to TypeScript and use async/await.
We have many API tests, so the tests should continue to pass, and no additional tests are needed for this.
🔍 Steps to Reproduce (or trigger)
Check how to run the project locally here: https://github.com/worknenjoy/gitpay/blob/master/README.md.
✅ Expected Behavior
The tests should continue to pass, and the platform should continue working as it is today.
🛠️ Stack Affected
Node.js
💰 Is there a bounty for this issue?
No
📜 Bounty Details (if applicable)
Unfortunately, this issue is not part of our bounty program, and you should work on it as a contributor.
For a starter contributor, it could be a good chance to get your PR reviewed and get some experience.