Skip to content

f0rr0/koa-passport-jwt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

koa-passport-jwt

Koa authentication using JSON Web Tokens and Passport

  • Node 6+ (Supports 96% of ES6)
  • Koa 2 (async/await transpiled with Babel)
  • Webpack 2 (ES6 modules and HMR)
  • Hot Module Replacement for seamless workflow.

How to use

Note: You'll probably need to run 3 different shell tabs/windows.

Install redis and start a redis server.

brew install redis
redis-server

Clone the repo, install dependencies and build in watch mode.

git clone https://github.com/sidjain26/koa-passport-jwt
npm i
npm run watch

Start the server.

npm start

License

MIT

About

Stateless Auth with JWT and Passport Strategies in Koa

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published