Soni Pandey
1 min readOct 15, 2016

--

Hello Victor!

Thanks for appreciating about articles. I know about the convention what you mentioned, may be i have not used here. Yeah ofcourse, it removes one level of nesting from code and is much cleaner and readable. And I defined scope for different roles, that will be resolve your problem. Session is not good approach, if your client is running on different server. So, in case of your server and client both are running on different server, you need to implement token based authentication.

--

--

Soni Pandey
Soni Pandey

Written by Soni Pandey

I am a Node.js Developer and eager to learn new technology. I blog, tweet & read whenever I can.

No responses yet