A starting point for an app using node, passport, sequelize, angular.
Clone this repository, then run npm install in the directory to grab the required npm modules.
This repository is intended to be used as a starting point for building a web app. It contains a basic setup including:
- Login / Registration system using Passport js, both locally & using Facebook/Twitter
- User profile updates
- Some form validation e.g. checking that a user chooses a username with a minimum 6 characters
- Bootstrap (v3.3.4 at the time of writing). SASS files included.
- Socket.io
- Some middleware to check whether the user is logged in or not before running routes
- Basic API setup in app/routes-data/api-routes.js to build upon.
- Sequelize for database.
- Global config file to add your database settings etc
- Angular front end with authentication checks on routes.
- Notification directive in Angular. By calling $rootScope.$emit('notify', { success: false, message: 'Display this message'}); a bootstrap alert box will appear. 'alert-danger' if success is false, 'alert-success' is success is true.