Skip to content

Technology-Geek/Simple_Node_JWT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Node JWT

Simple JWT Authentication Server

Setup

Create .env file with your configuration keys to "configuration/.env" like .env.example

httpPort=<Port Number>
jwtSecret='your jwt secret password'

Install Dependencies

npm install

Quick Start

# production mode
npm start

# development mode
npm run dev

End Points Examples

  • Server Welcome Message

    GET /

  • Get Signed JWT Token For Mock User

    POST /login

  • Verify JWT Token And Return Payload Data

    POST /verify

    Headers :
      Authorization: <access_token>

App Info

Author

Technology-Geek

Version

1.0.0

License

This project is licensed under the MIT License

About

Simple JWT Authentication Server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published