/sample-jwt

This is a repository that shows how you can integerate JWT Authentication to Express routes

Primary LanguageTypeScript

Express with JWT Authentication

This is a repository that shows how you can integerate JWT Authentication to Express routes.


Usage

  • Clone the repository
git clone https://github.com/devaku/sample-jwt
cd sample-jwt
  • Then after that, install the packages
npm install
  • Run the necessary migrations and seeds for the database.
npm run dev
  • Refer to index.ts to see the different endpoints.

Credits