Skip to content

danbaixi/koa-template

Repository files navigation

Koa 快速开发模板

此模板可以快速搭建一个 Koa 项目,包括项目目录结构、热更新、路由、日志、异常捕获、响应封装等功能。

使用

1、克隆此仓库

git clone https://github.com/danbaixi/koa-template.git

2、安装依赖

cd koa-template
npm install
// or
pnpm install

3、运行

npm start
// or
pnpm start

默认端口 3000,访问localhost:3000返回 JSON 即可。

参考

https://github.com/bayi-lzp/koa-template

About

Koa Quick Start Template koa快速开发模板

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published