Generated by OSS Project Generator.
A playground for Express and JSON Web Token.
- Clone the repo
$ git clone https://github.com/robertoachar/express-jwt.git
- Install dependencies
$ npm install
- Run scripts
Action | Usage |
---|---|
Start development mode | npm start |
Lint code | npm run lint |
- Environment variables
Create an .env
file in the root directory.
NODE_ENV=development
PORT=3000
JWT_SECRET=secret