https://github.com/fishercoder1534/hello-world
https://github.com/fishercoder1534/hello-world
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fishercoder1534/hello-world
- Owner: fishercoder1534
- Created: 2020-07-02T21:05:28.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-01-09T17:24:44.000Z (almost 2 years ago)
- Last Synced: 2025-01-20T12:46:32.264Z (11 months ago)
- Language: TypeScript
- Size: 938 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HelloWorld
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 10.0.1.
## Development server
First run `npm install package.json`. Then run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
## Code scaffolding
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`.
## Build
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.
## Running unit tests
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
## Running end-to-end tests
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
## Further help
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
## How to generate a new Angular component
In your terminal, in this directory, type `ng g c course`. What this does is generate a new component called course, generates all boilerplate code and adds this new component into your AppModule
## How to generate a new Angular service
In your terminal, in this directory, type `ng g s email`. What this does is generate a new service called email, generates two boilerplate code files: email.service.spec.ts and email.service.ts
## How to generate a new Angular directive
In your terminal, in this directory, type `ng g d input-format`. What this does is generate a new directive called input-format, generates two boilerplate code files: input-format.directive.spec.ts and input-format.directive.ts