# nestjs+mysql **Repository Path**: luoyiming/nestjs ## Basic Information - **Project Name**: nestjs+mysql - **Description**: node服务器端应用程序的开发框架 - **Primary Language**: NodeJS - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2021-04-13 - **Last Updated**: 2021-06-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # nestjs+mysql #### 介绍 Nestjs构建 HTTP 服务器,mysql数据库,redis状态存储 #### 软件架构 软件架构说明 #### 安装教程 1. 安装node 2. 下载redis,window下载安装后,命令开启即可 redis-server.exe redis.windows.conf 3. mysql连接数据库,app.module.ts修改配置,需先创建数据库 3. npm i -g @nestjs/cli 4. npm install 5. npm run start #### 使用说明 1. 启动服务之后,可以打开http://localhost:端口,端口默认4006,可以在main.ts文件中自行修改 2. 返回一个测试接口数据,{"code":0,"timestamp":"2021-04-15T07:08:45.954Z","path":"/","message":"请求成功","data":"Hello World!"} #### 参与贡献 1. Fork 本仓库 #### 特技