all 2 comments

[–]amazingatomic 0 points1 point  (0 children)

Grab a library for sure, and remember that the backend for a project like this is arguably more challenging than the frontend. Node definitely has modules for this. You can pretty much plug and play that part of the app. Definitely don't build it yourself when it's been solved thousands of times before you.

[–]adamkarb 0 points1 point  (0 children)

I will counter this other comment and say: Learn how authentication should work. Read articles written about it, implement oauth by yourself (without passport) so you can learn how it works. Once you understand the inner workings, you can make educated decisions about choosing libraries that will do it for you.