# coderhub **Repository Path**: ma-sining/coderhub ## Basic Information - **Project Name**: coderhub - **Description**: 使用koa开发 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2024-01-30 - **Last Updated**: 2024-03-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

logo

CoderHub v1.0.0

基于UniApp开发的轻量级移动端框架

## 📚 介绍 CoderHub 服务框架,基于 Koa 开发,使用了 mysql2 来连接服务器。该接口主要提供了用户登录系统、用户发表动态、评论动态、头像上传、给动态添加标签。给 coder 发表动态的社区。 ## 🎁CoderHub 名称的由来 CoderHub = Coder + Hub,是发表动态的设社区,,“Coder”是标示程序员,Hub 表示中心。CoderHub 程序员发表动态的中心。 --- ## 🛠️插件 | 插件 | 介绍 | | -------------- | -------------- | | @koa/multer | 文件 | | @koa/router | 路由 | | dotenv | 读取 env 文件 | | jsonwebtoken | 生成 token | | koa-bodyparser | 解析 body 参数 | | multer | 文件 | | mysql2 | 连接数据库 | ## 📕 开发 项目安装步骤 ```bash # 克隆项目 git clone https://gitee.com/ma-sining/coderhub.git # 进入项目目录 cd coderhub # 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题 # 切换新源(淘宝镜像旧源过期了) npm config set registry https://registry.npmmirror.com # 安装依赖 npm install # nodemon安装(电脑是否安装nodemon请自行判断) npm install -g nodemon # 启动服务 npm run start ```