# api **Repository Path**: wlscs/api ## Basic Information - **Project Name**: api - **Description**: 使用node开发的api服务器 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-11-17 - **Last Updated**: 2023-12-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 二.搭建项目 1.安装Koa框架 npm i koa 2.编写最基础的app 流程图 main.js 包含->app.js app.js 加载路由 user.router.js 载入controller , 解析url,分布给控制器对应的方法 controller 载入service层处理数据库