SitePoint
  • Premium
  • Library
  • Community
  • Jobs
  • Blog
LoginStart Free Trial

The home for developers

Track your course progress, manage projects, and find your dream job - all in one place.

Start Your Free Trial

7 Day Free Trial. Cancel Anytime.

SitePoint Premium

  • Access to 700+ courses
  • Publish articles on SitePoint
  • Daily curated jobs
  • Learning Paths
  • Discounts to dev tools
  • Library/
  • Text courses/
  • User Authentication with the MEAN Stack
User Authentication with the MEAN Stack

User Authentication with the MEAN Stack


Course details

4.0∙1 Rating0 reviews

Published
March 2020
Publisher
SitePoint
Chapters
1

About the course

In this tutorial, we’re going to look at managing user authentication in the MEAN stack. We’ll use the most common MEAN architecture of having an Angular single-page app using a REST API built with Node, Express and MongoDB.

When thinking about user authentication, we need to tackle the following things:

  1. Let a user register
  2. Save user data, but never directly store passwords
  3. Let a returning user log in
  4. Keep a logged in user’s session alive between page visits
  5. Have some pages that can only been seen by logged in users
  6. Change output to the screen depending on logged in status (for example, a “login” button or a “my profile” button).

Authors

Simon Holmes

Simon Holmes

Jeremy Wilken

Jeremy Wilken

Jurgen Van de Moere

Jurgen Van de Moere

Front-end Architect at The Force - specializing in JavaScript and AngularJS. Developer Expert at Google. Gymnast. Dad. Family man. Creator of Angular Express.

Course Outline

Chapter 1: User Authentication with the MEAN Stack

Reviews
4.0

1 total

0
1
0
0
0

Course details

4.0∙1 Rating0 reviews

Published
March 2020
Publisher
SitePoint
Chapters
1

SitePoint

Stuff we do

  • Premium
  • Newsletters
  • Learning paths
  • Library
  • Forums

Contact

  • Contact us
  • FAQ
  • Publish your book
  • Write an article
  • Advertise

About

  • Our Story
  • Corporate Memberships
  • Start free trial
  • Login

Connect

  • RSS
  • Facebook
  • Twitter (X)
  • Instagram

Subscribe to our newsletter

Get the freshest news and resources for developers, designers and digital creators in your inbox each week

© 2000 – 2025 SitePoint Pty. Ltd.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Terms of usePrivacy policy