Let's first define what a monorepo is
a monorepo (a syllabic abbreviation of a monolithic repository) is a software development strategy where co...
For further actions, you may consider blocking this person and/or reporting abuse
Great content!
I'm starting with NestJS, reading your content I'm developing a NestJS monorepo with microservices and adding custom shared libraries.
I cannot found informtation about how to build monorepo for production.
My shared libraries only works in root app (my Gateway) from my monorepo, but un my another apps (auth and API microservices) it Is not found.
Someone has a similar issues?
Regards
More description about my problems here:
github.com/nestjs/nest/issues/4984
Nice Article!
I have Nest microservices in different repos. Planning to use monorepo, but one thing struck my mind which is, each app under src don't have package.json, unlike lerna + yarn workspace.
Then, how will docker work? Let's say microserviceA has dependencies 1,2,3 and microserviceB has dep 4,5. With this setup, microserviceA container will have all the dependencies inside and same for B.
I think will need to use lerna or yarn workspace.
According to this: github.com/nestjs/nest-cli/issues/533
'The philosophy behind Nest CLI monorepo is different (it assumes that all shared libraries will exist in one repository, won't be published to any registry, and will be bundled together with the app).'
Loved the article. One quick question. In your setup we are running blog microservice on port 4000 is it possible to use port 3000 that is main service as an api gateway and blog as a tcp microservice does not allowing http requests on blog microservice but only on main api gateway?
+1
+1
I really like nest.js (due to a lot of reasons) but does it provide templating? or can i only make a decoupled backend with it?
you can create an angular frontend with the nest cli.
the rest needs to be implemented manualy as far as i know.
Great article. Can You write more about alternative transport layers (Redis, RabbitMQ) and more about deploy nestjs apps and nestjs microservices on production? :)
Sure :) I will start soon on the other transport layers.
Still figuring out how to containerize the mini repo but once that is done there will be an article.
Also thinking about video versions
+1
That sounds like a bigger project :D
I will think about it
specially DDD is not that easy to explain in a short blog post but I will thinking about it :)
plz do it!
Working on it 👍😊