Gabkings / node-token-based-authentication

This is a node , express and mongodb token based authentication system.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node-token-based-authentication

Node Token-based Authentication REST APIs. Building a secure user authentication CRUD APIs using JSON web token.

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

Start Node Server

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

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

About

This is a node , express and mongodb token based authentication system.


Languages

Language:JavaScript 100.0%