You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
✨ Your new, shiny [Nx workspace](https://nx.dev) is almost ready ✨.
6
-
7
-
[Learn more about this workspace setup and its capabilities](https://nx.dev/nx-api/nest?utm_source=nx_project&utm_medium=readme&utm_campaign=nx_projects) or run `npx nx graph` to visually explore what was created. Now, let's get you up to speed!
8
-
9
-
## Finish your CI setup
10
-
11
-
[Click here to finish setting up your workspace!](https://cloud.nx.app/connect/zB2fTfzvKU)
3
+
## Setup
12
4
5
+
1. Install `nodejs "^20.0.0"`
6
+
2. Install `pnpm`
7
+
3. Install `Docker` and `docker-compose`
13
8
14
9
## Run tasks
15
10
16
-
To run the dev server for your app, use:
11
+
To run the dev server for all the microservice:
17
12
18
13
```sh
19
-
npx nx serve auth
14
+
pnpm dev
20
15
```
21
16
22
-
To create a production bundle:
17
+
To create a production bundle for all the microservice:
23
18
24
19
```sh
25
-
npx nx build auth
20
+
pnpm build
26
21
```
27
22
28
23
To see all available targets to run for a project, run:
@@ -53,11 +48,22 @@ To generate a new library, use:
53
48
npx nx g @nx/node:lib mylib
54
49
```
55
50
51
+
To generate a new library nestjs controller schematic in apps use:
52
+
53
+
```sh
54
+
npx nx g @nx/nest:<schematic> [apps | libs]/<appName>/src/app/<app-module-folder>/<schematic-name>
You can use `npx nx list` to get a list of installed plugins. Then, run `npx nx list <plugin-name>` to learn about more specific capabilities of a particular plugin. Alternatively, [install Nx Console](https://nx.dev/getting-started/editor-setup?utm_source=nx_project&utm_medium=readme&utm_campaign=nx_projects) to browse plugins and generators in your IDE.
57
64
58
65
[Learn more about Nx plugins »](https://nx.dev/concepts/nx-plugins?utm_source=nx_project&utm_medium=readme&utm_campaign=nx_projects) | [Browse the plugin registry »](https://nx.dev/plugin-registry?utm_source=nx_project&utm_medium=readme&utm_campaign=nx_projects)
59
66
60
-
61
67
[Learn more about Nx on CI](https://nx.dev/ci/intro/ci-with-nx#ready-get-started-with-your-provider?utm_source=nx_project&utm_medium=readme&utm_campaign=nx_projects)
62
68
63
69
## Install Nx Console
@@ -70,12 +76,13 @@ Nx Console is an editor extension that enriches your developer experience. It le
70
76
71
77
Learn more:
72
78
73
-
-[Learn more about this workspace setup](https://nx.dev/nx-api/nest?utm_source=nx_project&utm_medium=readme&utm_campaign=nx_projects)
79
+
-[Learn more about this workspace setup](https://nx.dev/nx-api/nest?utm_source=nx_project&utm_medium=readme&utm_campaign=nx_projects)
74
80
-[Learn about Nx on CI](https://nx.dev/ci/intro/ci-with-nx?utm_source=nx_project&utm_medium=readme&utm_campaign=nx_projects)
75
81
-[Releasing Packages with Nx release](https://nx.dev/features/manage-releases?utm_source=nx_project&utm_medium=readme&utm_campaign=nx_projects)
76
82
-[What are Nx plugins?](https://nx.dev/concepts/nx-plugins?utm_source=nx_project&utm_medium=readme&utm_campaign=nx_projects)
77
83
78
84
And join the Nx community:
85
+
79
86
-[Discord](https://go.nx.dev/community)
80
87
-[Follow us on X](https://twitter.com/nxdevtools) or [LinkedIn](https://www.linkedin.com/company/nrwl)
0 commit comments