【文件属性】:
文件名称:park-koa-jwt:JWT的Koa游乐场
文件大小:7KB
文件格式:ZIP
更新时间:2021-02-03 17:39:40
playground jwt koa node koa-helmet
游乐场-koa-jwt
由。
与JWT合作的Koa游乐场。
发展历程
克隆仓库
$ git clone https://github.com/robertoachar/playground-koa-jwt.git
安装依赖项
$ npm install
运行脚本
行动
用法
开始开发模式
npm start
皮棉代码
npm run lint
环境
# .env file
NODE_ENV = development
PORT = 3000
JWT_SECRET = 124356
终点
方法
终点
描述
开机自检
/login
登录( admin : 123456 )
得到
/p
【文件预览】:
playground-koa-jwt-master
----package.json(1KB)
----.eslintrc.json(96B)
----.prettierrc(53B)
----LICENSE(1KB)
----src()
--------config.js(377B)
--------index.js(106B)
--------server.js(199B)
--------error.js(537B)
--------logger.js(199B)
--------app.js(287B)
--------router.js(1KB)
----.gitignore(1KB)
----CHANGELOG.md(42B)
----.npmrc(94B)
----README.md(1KB)
----.eslintignore(13B)
----.editorconfig(236B)
----.gitattributes(19B)