├── src ├── assets │ └── .gitkeep ├── app │ ├── app.component.scss │ ├── Task │ │ ├── add │ │ │ ├── add.component.scss │ │ │ ├── add.component.spec.ts │ │ │ ├── add.component.html │ │ │ └── add.component.ts │ │ └── list │ │ │ ├── list.component.scss │ │ │ ├── list.component.spec.ts │ │ │ ├── list.component.ts │ │ │ └── list.component.html │ ├── models │ │ └── Task.ts │ ├── app.component.html │ ├── services │ │ ├── task.service.spec.ts │ │ └── task.service.ts │ ├── app.component.ts │ ├── app-routing.module.ts │ ├── app.module.ts │ └── app.component.spec.ts ├── environments │ ├── environment.prod.ts │ └── environment.ts ├── favicon.ico ├── styles.scss ├── main.ts ├── test.ts ├── index.html └── polyfills.ts ├── e2e ├── tsconfig.json ├── src │ ├── app.po.ts │ └── app.e2e-spec.ts └── protractor.conf.js ├── .editorconfig ├── tsconfig.app.json ├── tsconfig.spec.json ├── browserslist ├── tsconfig.json ├── .gitignore ├── README.md ├── karma.conf.js ├── package.json ├── tslint.json └── angular.json /src/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/app.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/Task/add/add.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/Task/list/list.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true 3 | }; 4 | -------------------------------------------------------------------------------- /src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DanielArturoAlejoAlvarez/task-angular-app/HEAD/src/favicon.ico -------------------------------------------------------------------------------- /src/styles.scss: -------------------------------------------------------------------------------- 1 | h1,h2,h3,h4,h5,h6,label,.btn { 2 | text-transform: uppercase; 3 | font-weight: 600; 4 | } -------------------------------------------------------------------------------- /src/app/models/Task.ts: -------------------------------------------------------------------------------- 1 | export class Task { 2 | id: number; 3 | title: string; 4 | description: string; 5 | status: boolean; 6 | } -------------------------------------------------------------------------------- /e2e/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../out-tsc/e2e", 5 | "module": "commonjs", 6 | "target": "es5", 7 | "types": [ 8 | "jasmine", 9 | "jasminewd2", 10 | "node" 11 | ] 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/app/app.component.html: -------------------------------------------------------------------------------- 1 |
| ID | 11 |TITLE | 12 |DESCRIPTION | 13 |STATUS | 14 |15 | |
|---|---|---|---|---|
| {{task.id}} | 20 |{{task.title}} | 21 |{{task.description}} | 22 |{{task.status}} | 23 |
24 |
25 |
26 |
27 |
28 |
29 | |
30 |