Monorepo with Angular and NestJs using Nx
Vložit
- čas přidán 28. 01. 2021
- This video walks you through how to set up a mono repo using Nx with Angular and NestJs.
The code of this video can be found here: github.com/kedevked/angular-nest
For more about poly repo vs mono repo, here is an interesting article of Ben Nadel: www.bennadel.com/blog/3944-wh....
I have no clue what you’re doing but I still watched the whole thing to support 😁
Thanks for the support, that's much appreciated👍
Great vedio even I'm working with nx from one year
Glad you liked it. Don't forget to subscribe, please as I keep on uploading content weekly
Great video
Thanks, more are coming ...
We are waiting for another video 🤗
just uploaded a new video: czcams.com/video/kSSycUT0r1M/video.html
I like this video 🤗.... Thanks.
I am happy that you liked it. Many tutorials will follow. So please, stay tuned !
it was great video man I am expecting a full course from you on Angular and Nest sort of developing end to end product using any examplee
Thanks. Do you have a particular topic you would like me to cover ?
@@kedevked what about micro front-end with NX using Angular, Angular, Angular-React, React-React. ? 🙂
@@kumailn7662 okay that's noted. Will think about it. Thanks for your feedback. It is greatly appreciated!
nice very helpful
Glad to hear that you liked it 👌🏾
So the ng commands didn't work because this method didn't seem to create an angular.json for me. Perhaps I was doing something wrong.
have deploy monorepo on heroku ??
Do you want a tutorial about it ?
@@kedevked That would be very helpful! I too am planning to deploy to Heroku
@@YoTantengco I uploaded a new video on how to deploy to heroku. You might be interested in it: czcams.com/video/hoHAOs9S5a8/video.html
Nice, tks bro. Because my project is created with preset empty. How to add @nguniversal/express-engine with nx cli?
You can use nx cli or ng cli to add angular universal schematic
It's nice to put everything together but this might complicate a simple application to the point where newbies will have lots of trouble understanding what belongs to back-end and front-end. Node is great but there are so many frameworks and tools evolving each day making it quite unstable for long-term projects. I once worked on an ERP based on NestJs and Angular and two years down the line we are rewriting the entire backend into Rust Rocket. Backends can't evolve at the speed that front-end does where a framework is popular and then in two years it's deprecated and the maintainer no longer wants to maintain the project. Coffeescript and typescript all transpile to Javascript, what is the point to write something that transpiles to Js and then JS has to be interpreted in a nodeJs runtime. I think compiled languages are a better fit for backends. As for frontends we have no choice but to use Js as we wait for WASM to mature. Don't struggle to create a monolith and later start to create microservices and micro frontends after the monolith grows to a point where it is unmanageable.
The focus of this video is to show how frontend and backend can be in a single repository aka monorepo. Each project requirement is different and the backend used needs to be tailored to that. But for someone already using Angular, Nestjs can be easily used since both frameworks have a lot of things in common
is it still valid or a bit outdated?
Even though some concepts still apply, there have been some changes in the latest version of both angular and nests. Therefore the code demonstrated here needs a little bit of tweaking to make it work