https://github.com/nbaua/nx-nest-microservice
A NX-Nest JS Micro Service Demo Project
https://github.com/nbaua/nx-nest-microservice
microservice microservices nest nestjs nestjs-backend node-js nodejs nrwl nrwl-nx nx nx-workspace rabbit-mq rabbitmq-client rabbitmq-server typeorm typescript
Last synced: 3 months ago
JSON representation
A NX-Nest JS Micro Service Demo Project
- Host: GitHub
- URL: https://github.com/nbaua/nx-nest-microservice
- Owner: nbaua
- Created: 2022-02-26T11:56:48.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-26T12:47:29.000Z (over 3 years ago)
- Last Synced: 2025-03-25T19:16:07.713Z (3 months ago)
- Topics: microservice, microservices, nest, nestjs, nestjs-backend, node-js, nodejs, nrwl, nrwl-nx, nx, nx-workspace, rabbit-mq, rabbitmq-client, rabbitmq-server, typeorm, typescript
- Language: JavaScript
- Homepage:
- Size: 560 KB
- Stars: 13
- Watchers: 1
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nx-Nest-Micro Service Demo
This project is using [Nx](https://nx.dev) and [Nest](https://nestjs.com/).
## Main Features
- Mono-repo architecture - NRWL/NX based implementation.
- 2 Stub Nest JS projects - Admin and Sub, with REST api endpoints - Microservice capabilities added.
- 1 Library project - Allowing abstraction of common modules/components/functionality to be used as shared feature.
- RabbitMQ event published(emitted/subscribed) - high (controller) level communication - using NestJS ClientProxy.
- NestJS - TypeORM integrations - fully customizable db integrations - show cased - MongoDB(and mongoose)/MySQL connection as POC.
- Switch between Express/Fastify as needed.
Open for further scaling/improvement, us as is and extend further or implement your own flavor like this.## How to start
> clone this repository and run following command
> `npm start`
That's it
### Screenshots
> Micro Service In Action

> Running The Projects
