Skip to content

Sensrdt/RestApi-with-JWT-Node.js-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

RestApi-with-JWT-Node.js-

Download this repo :

Run all the below mentioned snippet in command prompt from the directory where you have cloned this repo

(1) Run npm install
    Refer this website if you don't have npm and node.js installed in your system :- https://www.npmjs.com/get-npm
(2) Run npm install express
    Can refer this website :- https://www.npmjs.com/package/express
(3) Run npm install -g nodemon
    Can refer this website :- https://www.npmjs.com/package/nodemon
(4) Run npm install body-parser
    Can refer this website :- https://www.npmjs.com/package/body-parser
(5) Run npm install short-id 
    Can refer this website :- https://www.npmjs.com/package/short-id
(6) Run npm install jsonwebtoken
    Can refer this website :- https://www.npmjs.com/package/jsonwebtoken

Make sure you have postman installed in your system or else follow this link : - https://www.getpostman.com/

Set Up is done !

Move to the directory you have saved this repo then open cmd there and run :

nodemone script.js

It will look something like this

1

OPEN POSTMAN AND DO THE FOLLOWING FOR SIGNUP

SignUp

DO THE FOLLOWING FOR LOGIN

Login

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published