SitePoint
  • Blog
  • Forum
  • Library
  • Login
Join Premium
  1. Details
  2. Creator
  3. Content
  4. Reviews
  5. FAQ
User Authentication with the MEAN Stack Cover

User Authentication with the MEAN Stack

4

average rating (1 votes)

Created by

Simon Holmes, Jeremy Wilken, Jurgen Van de Moere

Published by

SitePoint

Last Updated

20 March 2020

Details

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.

Description

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).

Creators

Simon Holmes avatar

Simon Holmes

Simon Holmes avatar
Jeremy Wilken avatar

Jeremy Wilken

Jeremy Wilken avatar
Jurgen Van de Moere avatar

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.
Jurgen Van de Moere avatar

Content

1
Preview

Reviews

Log in to write a review!

Frequently Asked Questions

User Authentication with the MEAN Stack Cover

User Authentication with the MEAN Stack

4

  • Unlimited access to this title and 600+ others in our library

  • New titles added frequently

  • Cancel anytime

Stuff we do

  • Premium
  • Newsletters
  • Forums

About

  • Our Story
  • Terms of use
  • Privacy Policy
  • Corporate Memberships

Contact

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

Connect

© 2000 – 2024 SitePoint Pty. Ltd.

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