Skip to content

nbaua/nx-nest-microservice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nx-Nest-Micro Service Demo

This project is using Nx and Nest.

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

Micro Service In Action

Running The Projects

Running The Projects