The request package was deprecated in March 2019, and as such suggested alternatives to use for future projects, so i think it would be better shifting to the alternatives, before i start working on it, this change was a part of that, and i think this is good candidate for a PR too.
The choice of node-fetch is only one of the alternative libraries suggested, plus it's API is similar to the client side fetch function which is already supported by most current browsers.
There has been no visible changes on the client side in this PR though 🙂
Apart from above, I added a "dev" script in package.json, since nodemon is listed as dev dependency, it's good to have a quick "yarn dev" command
The request package was deprecated in March 2019, and as such suggested alternatives to use for future projects, so i think it would be better shifting to the alternatives, before i start working on it, this change was a part of that, and i think this is good candidate for a PR too.
The choice of node-fetch is only one of the alternative libraries suggested, plus it's API is similar to the client side fetch function which is already supported by most current browsers.
There has been no visible changes on the client side in this PR though 🙂