I am trying to wrap my brain around building an express.js / node.js based REST API. I have a couple of questions...
Do I NEED token based / oauth 1 or 2 security for my api if I'm only concerned about a web application right now (not necessarily phone apps)
Are there any resources to learn how to build this from scratch? I've read literally the first 3 pages of googling "rest api with oauth2 authentication express.js" and i'm still not grasping it.
Its good that you want to do a REST API in node. Its really good in building API based request.
For your question:
But if your data is sensitive, such as private user data, then you need to put some sort of security layer on your API. Also, using OAuth or other token based security can help you build a better permission checking across your user base.
For more detailed info about OAuth: https://www.rfc-editor.org/rfc/rfc6749
Again, once you understand the workflow of OAuth, you can implement it easily. :P