Skip to content

chadgauth/jwt-token-details

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JWT Token Decoder - Node.js Project

Today, I developed a simple yet functional Node.js application that decodes JWT tokens and verifies their signatures. This application showcases my ability to work with Node.js and JWT tokens.

Overview

This application provides a user-friendly interface to input JWT tokens and get their decoded details. It also verifies the signatures of the tokens.

Application Screenshot

Setup and Installation

To run this application locally for development or testing, follow these steps:

Prerequisites

Ensure you have Node.js and npm installed on your machine. If not, download and install them from here.

Steps

  1. Clone the repository:
git clone https://github.com/chadgauth/jwt-token-details.git
  1. Install the dependencies
npm install
  1. Create a .env file in the root directory of the project and add the following:
SECRET=your_secret_key

Replace 'your_secret_key' with your own secret key.

  1. Start the server
npm start

How to Use

To decode a JWT token, make a GET request to '/tokenDetails' with the token in the 'x-access-token' header.

Technologies Used

Developer

  • Chad Gauthier

License

This project is licensed under the ISC License and is free for use, modification, and distribution.

About

NodeJS project to decode and verify a JWT token

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published