Skip to content

JWT authentification with express, mongoose & bcrypt (backend)

Notifications You must be signed in to change notification settings

artkabis/jwt-authentification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jwt-authentification

Only backend services

Usage :

git clone https://github.com/artkabis/jwt-authentification.git .
npm i
npm start dev

Init environnement variable

create .env file and add ->

MONGO_URI = 'mongodb+srv://yourname:[email protected]/YOURDBNAME'
API_PORT = 8000
TOKEN_KEY = '000111222333444'

Ressources :

MongoDB JWT

Testing request :

use Thunder Client

Exemples request :

POST register : post register request

POST login : post login request

GET hello : get hello request

About

JWT authentification with express, mongoose & bcrypt (backend)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published