Tech Radar was the first Node App I wrote and suffers from lots of my inexperience of node. As I have now written a lot more there are some glaring issues with the code that should be sorted...
Some examples
'isAutenticated' is checked on every route explicitly - this should be handled by a standard middleware (I have examples). The issue here is that it can easily be forgotten when adding a new route
also
'debug' should be used properly
'Logger' should be added
Tech Radar was the first Node App I wrote and suffers from lots of my inexperience of node. As I have now written a lot more there are some glaring issues with the code that should be sorted...
Some examples
'isAutenticated' is checked on every route explicitly - this should be handled by a standard middleware (I have examples). The issue here is that it can easily be forgotten when adding a new route also 'debug' should be used properly 'Logger' should be added