Can we combine a NestJS app with React?

preview_player
Показать описание
In this quick video we learn how to create a monorepo using turborepo, which combines a NestJS API with a React frontend. We will also learn how to set up our Nest application to serve up our React SPA build so that we only need to run a single server for production!
Рекомендации по теме
Комментарии
Автор

thanks a tonn saviour @mariusespejo . Its been a very smooth, simple and crisp explanation. Amazed by this tutorial. apreciate your effort towards the community. however there a little error from your steps when been used with latest version of turo i.e '^1.12.5', I had to add persistent as true like below
"dev": {
"cache": false,
"persistent": true
},

in order to the application run if not the fe is starting and crashing down. I had a hard time in figuring out and thought i could help someone via this comment.

earthpligrim
Автор

Very cool and useful video! Waiting for the next videos Nest JS and React with NX Monorepo

nopik
Автор

Incredible tutorial just what I needed! Very clear with each step of the walkthrough, will definitely coming back for more content! I never write comments but had to show some support haha. Thanks so much!

NickBoyd-vc
Автор

Very neat! I was looking for such solution to bundle my client with my nest js backend. Thank you for sharing!

patrickbelanger
Автор

Thank you so much for this! I'm working on a personal project and have always used python for my backend and wanted to try something new with NestJS. This was super helpful!

peacekper
Автор

Incredible tutorial, thank you Marius! <3 It was just I was looking for!

bugraotken
Автор

Amazing content once more! You just saved my personal project.

narebinhaa
Автор

Really nice and useful video. Starting with nest following your videos about it and I really like it, the architecture and the documentation are amazing compared to express. 🙏🙏

christopheanfry
Автор

Very cool! I just started using Turborepo on a project and really enjoy it.

It would be cool to get the dev/prod environments to be the same so you’re always working from a single server. I know that’s not easy but it’s something I’ve been wanting to do for awhile.

I almost got it to work with NestJS/Remix before but it wasn’t perfect.

deriegle
Автор

Nice tutorial, was stuck on monorepos for weeks.

abacuswithrehan
Автор

Thank you for explaining everything step by step from scratch. I really appreciate your hard work in helping the community. Once again, thank you very much.

dungledang
Автор

So great work. I liked watching your coding process. Keep up the great coding!

asimalqasmi
Автор

Very good tutorial. A great use case for this is for Vite PWAs.

TroyJoachim
Автор

tutorials like this should always cover client side

MerthanMerter
Автор

Great tutorial! Exactly what I was looking for and more. One thing I miss though: How to share common code with instant IDE update (i.e. when I change somewthing in common code, it should be reflected in react and api code instantly.

skpatel
Автор

That's exactly what I needed to know, thanks!

DenisMikhalev
Автор

I enjoyed this walkthrough and am thinking of all the things I could do with this. Great Video! I have some reservations though: I work in a team and do not want to constantly monitor how my teammates play nicely with the mono repo. I might use this for applications I build on my own.

kellslte
Автор

Thanks for the video Marius. Is a very good approach to monorepo and I like the development flow that you propose. We deploy the server and the client in different machines, but is good to have the two parts in the same repo in my opinion. I will try it...

pedro.carrasco
Автор

more about monorepo please, thank you

naranyala_dev
Автор

thanks man truly helpful and inspiring👏🙌

freddiefrexie