Skip to content

twoyoung6/Zhihu-API-Koa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zhihu-API-Koa

GitHub stars GitHub forks

仿知乎 API 项目

📺 视频地址:Node.js 仿知乎服务端-深入理解 RESTful API

API 介绍

主要模块

👲 用户模块 + 🎫 话题模块 + ❓ 问题模块 + 📣 回答模块 + ✏ 评论模块

文件结构

├─app
│ ├─auth                  // 授权中间件
│ ├─controllers           // 控制器
│ ├─models                // 模型
│ ├─public                // 静态资源
│ │ └─uploads
│ ├─routes                // 路由(接口)
│ └─utils                 // 工具