Skip to content

Starter Kit for Angular apps with an Express-powered Node server and token based authentication.

Notifications You must be signed in to change notification settings

dotch/angular-express-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Angular Express Starter

A simple yet full-featured starting point for Angular+Express applications with token based authentication.

Features

  • 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

Technologies used

  • 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

Demo

see it live

How to use

Prerequisites

  • 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

Set up API-Keys

  • check the satellizer instructions on how to get your OAuth keys. Set them as environment variables or insert them into server/config.js and client/app.js

TODO:

  • 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

Contributing

Found a bug? Submit an issue or a pull request.

License

MIT

About

Starter Kit for Angular apps with an Express-powered Node server and token based authentication.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages