A simple illustration of express server and logging in usoing FB credentials . Require.JS is used for modularizing the code and MongoDB is used for persistenace .