Skip to content

twiddler/jwt-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

This is a hands-on playground for understanding how to use JSON Web Tokens.

Installation

This uses pnpm as package manager. To install the project, use

npm install -g pnpm
pnpm i

Usage

We use automated jest tests to make sure everything works the way we think it does. To run the tests, we need to start the server and then run the tests.

In one terminal, run

npm run dev

to start the server. In another terminal,

npm test

to run the tests in watch mode.

While the two commands are running, you can work on index.js and index.jest.js. The server will automatically restart and the tests will run again.

Releases

No releases published

Packages

No packages published