├── functions ├── host.json ├── .funcignore ├── tsconfig.json ├── example.local.settings.json ├── products │ ├── function.json │ └── index.ts ├── proxies.json ├── shared │ └── index.ts ├── package.json ├── .gitignore └── package-lock.json ├── app-diagram.png ├── src ├── favicon.ico ├── app │ ├── products │ │ ├── product-list.component.css │ │ ├── product.ts │ │ ├── product.service.ts │ │ ├── product-list.component.ts │ │ └── product-list.component.html │ ├── shared │ │ ├── star.component.css │ │ ├── convert-to-spaces.pipe.ts │ │ ├── star.component.html │ │ └── star.component.ts │ ├── app.component.html │ ├── app.component.css │ ├── app.component.ts │ └── app.module.ts ├── assets │ └── images │ │ └── logo.jpg ├── proxy.conf.json ├── environments │ ├── environment.prod.ts │ └── environment.ts ├── tsconfig.app.json ├── styles.css ├── index.html ├── tsconfig.spec.json ├── tslint.json ├── main.ts ├── browserslist ├── test.ts ├── karma.conf.js ├── api │ └── products │ │ └── products.json └── polyfills.ts ├── .vscode ├── extensions.json ├── settings.json ├── launch.json └── tasks.json ├── e2e ├── src │ ├── app.po.ts │ └── app.e2e-spec.ts ├── tsconfig.e2e.json └── protractor.conf.js ├── .editorconfig ├── tsconfig.json ├── .gitignore ├── package.json ├── tslint.json ├── angular.json └── README.md /functions/host.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "2.0" 3 | } 4 | -------------------------------------------------------------------------------- /app-diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveisprime/apm/HEAD/app-diagram.png -------------------------------------------------------------------------------- /src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveisprime/apm/HEAD/src/favicon.ico -------------------------------------------------------------------------------- /src/app/products/product-list.component.css: -------------------------------------------------------------------------------- 1 | thead { 2 | color: #337AB7; 3 | } 4 | -------------------------------------------------------------------------------- /src/assets/images/logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fiveisprime/apm/HEAD/src/assets/images/logo.jpg -------------------------------------------------------------------------------- /src/app/shared/star.component.css: -------------------------------------------------------------------------------- 1 | .crop { 2 | overflow: hidden; 3 | } 4 | div { 5 | cursor: pointer; 6 | } -------------------------------------------------------------------------------- /functions/.funcignore: -------------------------------------------------------------------------------- 1 | *.js.map 2 | *.ts 3 | .git* 4 | .vscode 5 | local.settings.json 6 | test 7 | tsconfig.json -------------------------------------------------------------------------------- /src/app/app.component.html: -------------------------------------------------------------------------------- 1 |
| Product | 26 |Code | 27 |Available | 28 |Price | 29 |Rating | 30 |
|---|---|---|---|---|
| 41 | 42 | {{ product.productName }} 43 | 44 | | 45 |{{ product.productCode | lowercase | convertToSpaces: '-' }} | 46 |{{ product.releaseDate }} | 47 |{{ product.price | currency:'USD':'symbol':'1.2-2' }} | 48 |
49 | |
53 |