https://github.com/zyyou/koa-mvc
基于KOA2的MVC工程模板
https://github.com/zyyou/koa-mvc
jsonwebtoken jwt koa-jwt koa-mvc koa2 koajs nodejs nodejs-mvc
Last synced: 10 months ago
JSON representation
基于KOA2的MVC工程模板
- Host: GitHub
- URL: https://github.com/zyyou/koa-mvc
- Owner: zyyou
- License: mit
- Created: 2019-01-14T02:53:37.000Z (about 7 years ago)
- Default Branch: dev
- Last Pushed: 2023-01-09T17:14:31.000Z (about 3 years ago)
- Last Synced: 2025-04-12T01:16:58.671Z (10 months ago)
- Topics: jsonwebtoken, jwt, koa-jwt, koa-mvc, koa2, koajs, nodejs, nodejs-mvc
- Language: JavaScript
- Homepage:
- Size: 157 KB
- Stars: 9
- Watchers: 1
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 基于KOA2的MVC工程模板
## 目标
- 快速搭建koa mvc 工程
# 使用脚手架构建工程
```
# 安装脚手架
npm install koa-mvc-cli -g
# 创建工程
koamvc init <工程名>
```
## 使用源码构建工程
```shell
git clone -b master https://github.com/zyyou/koa-mvc.git
cd koa-mvc
npm install
npm run dev
```
启动成功后访问 `http://127.0.0.1:3001`
## 参与贡献
- [Issue](https://github.com/zyyou/koamvc/issues)
- [PullRequest](https://github.com/zyyou/koamvc/pulls)