# node_ts_server **Repository Path**: HeNuoScott/node_ts_server ## Basic Information - **Project Name**: node_ts_server - **Description**: node ts 搭建的web服务器 - **Primary Language**: TypeScript - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-02-22 - **Last Updated**: 2024-04-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Node ts 搭建服务器案例 Steps to run this project: 1. 安装命令说明 npm install ** 安装库文件** npm uninstall ** 卸载库文件** npm install -g ** 将库文件安装到全局 npm install ** --save-dev 安装文件库到devDependencies中 需要安装全局下的库文件 yarn typeorm 创建项目 typeorm init --name node_ts_server --database sqlite3 cd node_ts_server yarn yarn start 2. 当前服务器使用的是sqlite3数据库 需要安装python 请自行安装 安装时 勾选将python添加到环境变量中 3. typeorm 使用方法 https://github.com/typeorm/typeorm/blob/master/README-zh_CN.md 4. 关于nodejs中使用fluent-ffmpeg模块、ffmpeg工具的使用心得 https://blog.csdn.net/qq_19788257/article/details/83011732 5. 添加日志使用winston