# nestjs-microservices-primsa-postgresql-swagger **Repository Path**: guangxuejian/nestjs-microservices-primsa-postgresql-swagger ## Basic Information - **Project Name**: nestjs-microservices-primsa-postgresql-swagger - **Description**: nestjs-microservices-primsa-postgresql-swagger架构搭建的后端微服务 - **Primary Language**: NodeJS - **License**: Not specified - **Default Branch**: nestjs-microservices-demo - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-11-17 - **Last Updated**: 2024-11-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: Nodejs, TypeScript ## README # NestJS Microservices Demo 这是一个使用 NestJS 构建的微服务示例项目。该项目展示了如何使用 NestJS 创建和管理多个微服务,并通过 TCP 进行通信。 ## 特性 - 使用 NestJS 框架构建微服务 - 支持 TCP 通信 - 提供基本的 CRUD 操作 - 日志记录功能 ## 安装 1. 克隆项目: ```bash git clone git clone https://gitee.com/guangxuejian/nestjs-microservices-primsa-postgresql-swagger.git cd nestjs-microservices-primsa-postgresql-swagger ``` 2. 安装依赖项: 使用 concurrently 同时安装所有微服务的依赖项: ```bash npm install -g concurrently npm run install:all ``` 3. 启动微服务 使用以下命令启动所有微服务: ```bash npm run start:all ``` 4. 访问服务 http://localhost:3000 ## 贡献 欢迎任何形式的贡献!请遵循以下步骤: Fork 本仓库 创建您的特性分支 (git checkout -b feature/YourFeature) 提交您的更改 (git commit -m 'Add some feature') 推送到分支 (git push origin feature/YourFeature) 创建一个新的 Pull Request ## 许可证 该项目使用 MIT 许可证。有关详细信息,请参阅 [LICENSE](./LICENSE) 文件。 联系 如果您有任何问题或建议,请通过以下方式联系我: 邮箱: 1780274479@qq.com