https://github.com/karenyov/cursoangular
Curso Angular
https://github.com/karenyov/cursoangular
angular curso-angular typescript
Last synced: about 2 months ago
JSON representation
Curso Angular
- Host: GitHub
- URL: https://github.com/karenyov/cursoangular
- Owner: karenyov
- Created: 2018-06-19T22:13:12.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-27T21:22:28.000Z (almost 8 years ago)
- Last Synced: 2025-01-11T15:36:47.780Z (over 1 year ago)
- Topics: angular, curso-angular, typescript
- Language: TypeScript
- Homepage:
- Size: 350 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Curso Angular
Este repositório contém anotações e códigos produzidos no curso de [Angular](https://loiane.training/course/angular/).
## Requisitos
- [Node.JS](https://nodejs.org/en/).
- [NPM](https://www.npmjs.com/get-npm)
- TypeScript
`npm install -g typescript`
### Anotações
> Os comandos são realizados via terminal (Angular CLI).
Instalar Angular CLI:
`npm install -g angular-cli`
Criar projeto:
`ng new primeiro-projeto`
Subir Projeto:
`ng serve`
Criar Módulo:
`ng g m nome-modulo`
Criar Componente:
`ng g c nome-componente`
Criar Serviço:
`ng g s nome-service`
Criar Diretiva:
`ng g d nome-directive`
Criar Pipe:
`ng g p nome-pipe`
Criar Class:
`ng g c nome-classe`
Criar Interface:
`ng g i nome-interface`
Criar Enum:
`ng g e nome-enum`
Verificar boas práticas de código:
`ng lint`
Executar os testes:
`ng test`
`ng e2`