Simple AngularJS application with ExpressJS session authentication and login attempts stored in MongoDB