ynwd / nest-microservice-monorepo

nest-microservice-monorepo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Monorepo

Prerequsites

  • docker installed
  • nodejs installed

How to run

# run database
docker-compose up

# install all packages
npm install

# run api endpoint
nest start api

# open new terminal
# run service 1
nest start svc1

# open new terminal
# hit the hello endpoint
curl --location --request GET 'http://localhost:3000/hello'

# hit the hello endpoint with payload
curl --location --request GET 'http://localhost:3000/hello-payload'

TODO:

About

nest-microservice-monorepo


Languages

Language:TypeScript 88.9%Language:JavaScript 9.0%Language:Shell 2.1%