-
Notifications
You must be signed in to change notification settings - Fork 0
Server Framework
The main choice seems to be Hapi vs Express to use to extend the basic NodeJS Server.
An issue which seems to be different is in support of authentication.
The simple approach is to just do standard email-based self-registration.
A more complex task would be to integrate autherntication with FaceBook and/or Google or others and OAUTH. Saul
Our core user experience ultimately is likely to involves pictures, videos and sharing experiences and access to photos, videos (Think GoPro cameras as well as smart-phone-cameras). Of course, Facebook has the market here.
I will quote Saul here from Slack-
Saul Maddox [9:10 AM] 3Sep15 With Hapi you wouldnt have to create your own auth system. You would use bell for the oauth to login to facebook or google, and then you would use hapi-cookie-auth to set the session.
Here is an article from one of the hapi devs on this with Github. OAuth Integration Using Hapi http://www.sitepoint.com/oauth-integration-using-hapi/
This article explains how to set up OAuth authentication using Hapi, a Node.js server framework. Jan 28th at 6:00 AM
Saul Maddox [9:11 AM] "When I switched from passport auth to hapi auth it just seemed so much clearer what was happening.
BUT there are 100x more examples with passport to handle auth.
I say spend a day looking into how hapi handles oath and then spend a day with passport and how it handles oath. From there you will get a feel for what you guy want.
Like Alan says, list out the pros and cons of each. From there I think you will start getting a feel for what you will want as a team."