Skip to content

Example of JWT authentication and unit testing with the Express.js framework.

Notifications You must be signed in to change notification settings

laluardian/express-jwt-auth-jest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

Make sure you have installed Node and MongoDB on your machine

Create a .env file in the root folder.

Add your Mongo Uri, Port, and JWT key into the .env file as shown in the .env.example file.

# Install dependencies
npm install

# Run app
npm run dev

# Run test
npm run test

About

Example of JWT authentication and unit testing with the Express.js framework.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published