A simple yet full-featured starting point for Angular+Express applications with token based authentication.
- JSON Web Token based Authentication
- Local Authentication using Email and Password
- OAuth 2.0 Authentication via Facebook and Google
- Account Management:
- Change, forgot, reset Password
- Change profile details
- Link local and OAuth strategies to one account
- Delete Account
- Material Design using Angular Material
- Simple project structure following current best practices for scalable apps
- Mongo DB - NoSQL Database
- Mongoose - MongoDB object modeling tool
- Express - Web framework for Node.js
- Angular - Client side JavaScript framework
- Angular UI Router - Advanced Angular routing
- Angular Material - Material Design UI Components for Angular
- Satellizer - JSON Web Token based Authentication
- Nodemailer - Send password reset emails
- install Node
- install MongoDB
- install Bower
npm install -g bower
- clone or download this repository
- install the dependencies
npm install
bower install
- start the server
npm start
- open your browser at
localhost:3000
- check the satellizer instructions
on how to get your OAuth keys.
Set them as environment variables or insert them into
server/config.js
andclient/app.js
- implement account deletion
- switch to component router when ready
- switch to angular2 when ready
- introduce gulp or another build process when necessary
- write a lot of tests
Found a bug? Submit an issue or a pull request.
MIT