# ztools-server **Repository Path**: meteor199/ztools-server ## Basic Information - **Project Name**: ztools-server - **Description**: No description available - **Primary Language**: NodeJS - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2017-11-12 - **Last Updated**: 2020-12-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
https://www.ztools.top 的后台 基于 nodejs + koa + typescript **安装** ``` yarn install ``` **开发** ``` npm run dev ``` **使用pm2管理** ``` npm run prd ``` # 现有功能 扇贝上传单词,百度文字转语音 # 配置文件 配置文件为/config/config.json 内容为: ``` port: string; // 百度的 appid baidu: { appid: string; apikey: string; secretkey: string; }, // 扇贝的 appid shanbay: { appkey: string; } ``` # 部署 ## 1. 拉取 ztools-server 项目 ``` git clone https://gitee.com/meteor199/ztools-server.git ``` ## 2. 安装依赖 ``` npm install ``` ## 3. 修改配置 修改配置文件:config/config.json 配置各种 appkey和端口号 ## 4. 将前端项目添加到 public 文件夹中 拉取前端项目,并编译,将生成的文件放到`public`中。 ## 5. 运行 ``` npm start ```