- Authentication via Passport
- Automated testing framework with code coverage results
- Automated documentation
Tag Archives: passportJS
Like any other web application your MEAN project need an authentication system to protect sections. User must register to visit some page or use some feature. For the Express framework the best solution you can take is to use a module called PassportJS. Passport can be use to authenticate users with more then 140 strategies like local storage, facebook, google or twitter.
In this first two parts tutorial we are going to setup a little application using the local strategies. Almost every login system use this strategies. We want to create some REST API to get this functionality working also on a single page application only using ajax call to the backend.