Gabkings / angular-meanstack-authentication

JSON web token (JWT) based user authentication system in Angular 8 or 9 app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AngularMeanstackAuthentication

Angular 8 JWT User Authentication to implement JSON web token (JWT) based user authentication system in Angular 8 or 9 app.

Clone Token-Based Auth API

Clone the repo inside the Angular's root folder.

  • git clone https://github.com/Gabkings/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

About

JSON web token (JWT) based user authentication system in Angular 8 or 9 app


Languages

Language:TypeScript 77.5%Language:HTML 13.7%Language:JavaScript 8.2%Language:CSS 0.6%