Skip to content

jsaunie/authentication-jsonwebtoken-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Authentication with JsonWebToken, Express & NodeJs

Run the api

  1. Run nodemon in terminal
  2. Server listen on port 3000

API doc

  1. GET | /api | Test api
  2. POST | /api/login | Receive the token and set the header Authorization : Baerer <access_token>
  3. POST | /api/posts | Check the token and create post if token is good

Jean SAUNIE

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published