arthurvalentereis / coti-angular-aula1

Tela de cadastro de contato, validações e trickets angular

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Projectocontatos

This project was generated with Angular CLI version 13.3.4.

Development server

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.

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.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

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.

Generate new components

Run ng generate component <nome-component> ou ng g c <nome-component> --module app gera automaticament eum componente e adiciona no app.module.ts a referencia

--module app é para registrar no app.module example : "ng g c components/darkModeSwitch --module app"

Run ng generate service <nome-component> ou ng g s <nome-component> --module app gera automaticament um service e adiciona no app.module.ts a referencia

Rotas

  • RouterModule, para configurar as rotas tudo em um lugar app.routing.ts
  • Components

    • cadastro-contatos
    • consulta-contatos
    • edita-contatos

    Formulário

    • FormGroup
    • FormControl
    • Validators
    - Criando formulário em que o botão ficará desabilitado com regras de negócio e mensagens de erros nos campos

    Further help

    To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

    About

    Tela de cadastro de contato, validações e trickets angular


    Languages

    Language:TypeScript 61.0%Language:HTML 36.1%Language:JavaScript 2.8%Language:CSS 0.2%