Skip to content

shyam81295/JWT-REST-API-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JWT-REST-API-app

Golang App which creates REST APIs which are JWT Authenticated.

Currently, it supports 3 REST API endpoints:

  • /register - User Registration.
  • /login - Logs in User.
  • /protected - registered User with correct JWT Token can only access this endpoint.

How it works?

  • /login Endpoint gives JWT (Json Web Token) token response to registered users.
  • /protected Endpoint only needs JWT token in authentication header.

About

REST API endpoints which are JWT Authenticated.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages