This is a Node/Express based user authentication API with implementation of tokenisation teqnique JWT(Json Web Tokens)
API endpoints can be tested with Postman with json inputs .
API Request/Response medium --> Json .
-
GET : localhost:port/api --> home page
-
POST: localhost:port/api/register --> user registration handle
-
POST : localhost:port/api/login ---> user login handle
-
POST : localhost:port/api/tokenauth ---> token verification
Run : nodemon apiserver.js