No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
public
routes
template
.gitignore
README.md
app.js
nw.js
package-lock.json
package.json
uninstall-nw.js

README.md

koa2-cli-jwt

一个基于koa2的脚手架后端模板 + jwt验证

Build Setup

# 安装依赖
npm install /cnpm install

# 运行环境
npm start

# 安装koa2的windows服务
node nw.js

# 卸载koa2的windows服务
node uninstall-nw.js

# 打开浏览器查看运行结果
项目主工程入口: http://localhost:3000
后端API路由(jwt验证): http://localhost:3000/api
前端测试JWT: http://localhost:3000/ajax/jwtTest.html

Image text

邮箱:421419567@qq.com 请右上角Star 万分感激!(^_^)