|
2 | 2 |
|
3 | 3 | # NodeAngular
|
4 | 4 |
|
5 |
| -This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.3.0. |
| 5 | +This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 19.1.3. |
6 | 6 |
|
7 | 7 | ## Development server
|
8 | 8 |
|
9 |
| -Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files. |
| 9 | +To start a local development server, run: |
| 10 | + |
| 11 | +```bash |
| 12 | +ng serve |
| 13 | +``` |
| 14 | + |
| 15 | +Once the server is running, open your browser and navigate to `http://localhost:4200/`. The application will automatically reload whenever you modify any of the source files. |
10 | 16 |
|
11 | 17 | ## Code scaffolding
|
12 | 18 |
|
13 |
| -Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`. |
| 19 | +Angular CLI includes powerful code scaffolding tools. To generate a new component, run: |
| 20 | + |
| 21 | +```bash |
| 22 | +ng generate component component-name |
| 23 | +``` |
| 24 | + |
| 25 | +For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run: |
| 26 | + |
| 27 | +```bash |
| 28 | +ng generate --help |
| 29 | +``` |
14 | 30 |
|
15 |
| -## Build |
| 31 | +## Building |
16 | 32 |
|
17 |
| -Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. |
| 33 | +To build the project run: |
| 34 | + |
| 35 | +```bash |
| 36 | +ng build |
| 37 | +``` |
| 38 | + |
| 39 | +This will compile your project and store the build artifacts in the `dist/` directory. By default, the production build optimizes your application for performance and speed. |
18 | 40 |
|
19 | 41 | ## Running unit tests
|
20 | 42 |
|
21 |
| -Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io). |
| 43 | +To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command: |
| 44 | + |
| 45 | +```bash |
| 46 | +ng test |
| 47 | +``` |
22 | 48 |
|
23 | 49 | ## Running end-to-end tests
|
24 | 50 |
|
25 |
| -Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities. |
| 51 | +For end-to-end (e2e) testing, run: |
| 52 | + |
| 53 | +```bash |
| 54 | +ng e2e |
| 55 | +``` |
| 56 | + |
| 57 | +Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs. |
26 | 58 |
|
27 |
| -## Further help |
| 59 | +## Additional Resources |
28 | 60 |
|
29 |
| -To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page. |
| 61 | +For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page. |
0 commit comments