DEV Community

Discussion on: NestJS - Adding a frontend to the monorepo

Collapse
 
eliotik profile image
Alexander

HI, thank you for articles, easy to read, except this one.
It named: "NestJS - Adding a frontend to the monorepo"
But in fact you created a separate folder to nestjs apps and in your vuejs app there is no api calls to nestjs app.
Maybe I'm missing something, please, correct me if I'm wrong.
Thank you.

Collapse
 
lampewebdev profile image
Michael "lampe" Lazarski

Hey,

I'm confused a little bit :D
You can still make api calls to nestjs?
Or is it because of no examples in this post?

Nest and the frontend should talk over http anyway so in production they can live on separate servers.
So yeah I'm confused :D

Collapse
 
eliotik profile image
Alexander • Edited

😄
My idea is that this part can live separately from nest articles, because:

  • you created vue app
  • setup webpack config
  • no connection with previous two articles.

I'd either separate it or update by showing how to include view app in the nest folders stricture and added one simple API call
I hope I clarified welly comment this time 🙂

Thread Thread
 
lampewebdev profile image
Michael "lampe" Lazarski

Okay.

At the end of the day, you need to use what fits you and the project the most.

So yeah you don't need to separate them ore make a mono repo.

You do you and what fits the project the most :)