A fair few of the functions in your application aren't making use of the arguments you give them.
Examples include:
handleAuth - doesn't need res
handleBuy - doesn't need req
handleCart - doesn't need req, but may do once you change the username to not be hard coded...
handleError - doesn't need req
It's not a big deal and gives you more room to change functionality later, but still worth considering.
A fair few of the functions in your application aren't making use of the arguments you give them.
Examples include:
handleAuth- doesn't needreshandleBuy- doesn't needreqhandleCart- doesn't needreq, but may do once you change the username to not be hard coded...handleError- doesn't needreqIt's not a big deal and gives you more room to change functionality later, but still worth considering.