/angular-meanstack-authentication

Angular 8 JWT User Authentication Tutorial - Learn how to build and implement JSON web token (JWT) based user authentication system in Angular 8 or 9 app.

Primary LanguageTypeScript

AngularMeanstackAuthentication

Angular 8 JWT User Authentication Tutorial - Learn how to build and implement JSON web token (JWT) based user authentication system in Angular 8 or 9 app.

Angular 8 JWT User Authentication Tutorial

Clone Token-Based Auth API

Clone the repo inside the Angular's root folder.

  • git clone https://github.com/SinghDigamber/node-token-based-authentication.git

Start the Node Server

  • Run npm install to install required packages
  • Open terminal run nodemon
  • Open other terminal run mongod

Authentication REST APIs

  • GET (users list) /api
  • POST (sign-in) /api/signin
  • POST (sign-up) /api/register-user
  • GET (user profile) /api/user-profile/id
  • PUT (update user) /api/update-user/id
  • DELETE (delete user) /api/delete-user/id

Node API URL on http://localhost:4000/api