-
-
Notifications
You must be signed in to change notification settings - Fork 90
Nestjs combined with Nx-electron #204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
An official plugin that works together with NX already exists: Take a look here! |
Thanks for the quick response.
However, that would a configured independent Nestjs app, while I want some
to simply integrate it with Nx-electron as one app.
I think I have gotten an idea, don't know if that's the right approach
though.
In the same Nx-electron file of app.ts where mainWindow is being created, I
simply added a method similar to Nestjs bootstrap function with Nestjs
specifics, called it after electron window created - and behold I have a
Nestjs server app running whenever Nx-electron serves!
Correct me if I'm wrong. Once again, thanks.
…On Tue, Feb 21, 2023, 2:40 PM jason.bdt ***@***.***> wrote:
An official plugin that works together with NX already exists: Take a
look here! <https://nx.dev/packages/nest>
—
Reply to this email directly, view it on GitHub
<#204 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOAIPDJQRTAY7ROULXSTC7LWYTAUXANCNFSM6AAAAAAVA56ATQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hello Sir
Please do check out my query. Need help.
The Nx-electron is not buildings the project, it's looking for some
index.js in dist directory of the project.
I have added screenshot in GitHub issue page. Thanks
On Tue, Feb 21, 2023, 3:02 PM Mahmud Adam Usman ***@***.***>
wrote:
… Thanks for the quick response.
However, that would a configured independent Nestjs app, while I want some
to simply integrate it with Nx-electron as one app.
I think I have gotten an idea, don't know if that's the right approach
though.
In the same Nx-electron file of app.ts where mainWindow is being created,
I simply added a method similar to Nestjs bootstrap function with Nestjs
specifics, called it after electron window created - and behold I have a
Nestjs server app running whenever Nx-electron serves!
Correct me if I'm wrong. Once again, thanks.
On Tue, Feb 21, 2023, 2:40 PM jason.bdt ***@***.***> wrote:
> An official plugin that works together with NX already exists: Take a
> look here! <https://nx.dev/packages/nest>
>
> —
> Reply to this email directly, view it on GitHub
> <#204 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AOAIPDJQRTAY7ROULXSTC7LWYTAUXANCNFSM6AAAAAAVA56ATQ>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Really, the nx-electron is a live saver!
I am just trying out it now though, and so happen to look towards how to combine it with module based nodejs frameworks like nestjs.
The nestjs documentation has this line:
npm i --save @nestjs/core @nestjs/common rxjs reflect-metadata
for manual way installation, however I am kind of lost!!!
Looking forward to your guide, thank you.
The text was updated successfully, but these errors were encountered: