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.
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
MIT