SE701-T5 / Backend

Heroku deployed Node.js backend server developed by Team-5 for the UniForum project associated with the University of Auckland SOFTENG 701 course
https://uni-forum.herokuapp.com/
MIT License
2 stars 18 forks source link

replace callbacks with promises #98

Closed j-chad closed 2 years ago

j-chad commented 2 years ago

Is your feature request related to a problem? Please describe. as a developer it is very frustrating that all of the functions use callback style.

Describe the solution you'd like Switch all of the functions over from using callbacks to using promises. We should also use this time to simplify the responses and make them more uniform. You can use async functions to simplify the code.

Checklist: