Skip to content

About

No description, website, or topics provided.

Resources

Stars

19 stars

Watchers

1 watching

Forks

Repository files navigation

AngularBackbone

CI

This project was generated with Angular CLI version 13.3.1.

This project is designed and developed to be a reference for Software Developers who wants to learn Angular

Getting started

nvm use          # node 16 (see .nvmrc)
npm ci
npm start        # http://localhost:4200
npm test         # karma + jasmine
npm run build

Run with Docker:

docker build -t angular-backbone .
docker run -p 8080:80 angular-backbone

What's inside

Area Path Topics
Basics src/app/basics components, data binding, directives
Component communication src/app/communication @Input/@Output, event binding, ng-content
DOM src/app/dom attribute directives, ViewChild
Dynamic components src/app/dynamic modal, placeholder directive
Forms src/app/forms template-driven and reactive forms
HTTP src/app/http services, create and retrieve
Lifecycle hooks src/app/lifecycle-hooks component lifecycle
Pipes src/app/pipes custom pipes
Animations src/app/animations Angular animations
Store src/app/store reducers
Testing src/app/testing services, HttpTestingController, logger

Guides: unit testing · CI/CD

Unit testing

Basics

you can find implementations below in this file

  • Data binding
  • Events
  • Two way binding
  • Give Github Copilot a try
  • DOM interaction

Http

you can find implementations below in this file

  • HttpTestingModule
  • Mocking Data
  • Error Handling

Mocking

you can find implementations below in this file

  • mocking services and observables

Testing Asynchronous Code

you can find implementations below in this file

  • done()
  • tick() with timeOut
  • fakeAsync with Promises
  • fakeAsync with Observables

About

No description, website, or topics provided.

Resources

Stars

19 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages