From 41477dc29acf3eabd9c172f8da145615d548ab29 Mon Sep 17 00:00:00 2001 From: francesco Date: Mon, 13 Dec 2021 20:51:48 +0100 Subject: [PATCH] project scaffolding --- project/src/app/app.module.ts | 22 ++++++++++++++++++- project/src/app/header/header.component.css | 0 project/src/app/header/header.component.html | 1 + project/src/app/header/header.component.ts | 15 +++++++++++++ .../recipe-detail/recipe-detail.component.css | 0 .../recipe-detail.component.html | 1 + .../recipe-detail/recipe-detail.component.ts | 15 +++++++++++++ .../recipe-item/recipe-item.component.css | 0 .../recipe-item/recipe-item.component.html | 1 + .../recipe-item/recipe-item.component.ts | 15 +++++++++++++ .../recipe-list/recipe-list.component.css | 0 .../recipe-list/recipe-list.component.html | 1 + .../recipe-list/recipe-list.component.ts | 15 +++++++++++++ project/src/app/recipes/recipes.component.css | 0 .../src/app/recipes/recipes.component.html | 1 + project/src/app/recipes/recipes.component.ts | 15 +++++++++++++ .../shopping-edit/shopping-edit.component.css | 0 .../shopping-edit.component.html | 1 + .../shopping-edit/shopping-edit.component.ts | 15 +++++++++++++ .../shopping-list/shopping-list.component.css | 0 .../shopping-list.component.html | 1 + .../shopping-list/shopping-list.component.ts | 15 +++++++++++++ 22 files changed, 133 insertions(+), 1 deletion(-) create mode 100644 project/src/app/header/header.component.css create mode 100644 project/src/app/header/header.component.html create mode 100644 project/src/app/header/header.component.ts create mode 100644 project/src/app/recipes/recipe-detail/recipe-detail.component.css create mode 100644 project/src/app/recipes/recipe-detail/recipe-detail.component.html create mode 100644 project/src/app/recipes/recipe-detail/recipe-detail.component.ts create mode 100644 project/src/app/recipes/recipe-list/recipe-item/recipe-item.component.css create mode 100644 project/src/app/recipes/recipe-list/recipe-item/recipe-item.component.html create mode 100644 project/src/app/recipes/recipe-list/recipe-item/recipe-item.component.ts create mode 100644 project/src/app/recipes/recipe-list/recipe-list.component.css create mode 100644 project/src/app/recipes/recipe-list/recipe-list.component.html create mode 100644 project/src/app/recipes/recipe-list/recipe-list.component.ts create mode 100644 project/src/app/recipes/recipes.component.css create mode 100644 project/src/app/recipes/recipes.component.html create mode 100644 project/src/app/recipes/recipes.component.ts create mode 100644 project/src/app/shopping-list/shopping-edit/shopping-edit.component.css create mode 100644 project/src/app/shopping-list/shopping-edit/shopping-edit.component.html create mode 100644 project/src/app/shopping-list/shopping-edit/shopping-edit.component.ts create mode 100644 project/src/app/shopping-list/shopping-list.component.css create mode 100644 project/src/app/shopping-list/shopping-list.component.html create mode 100644 project/src/app/shopping-list/shopping-list.component.ts diff --git a/project/src/app/app.module.ts b/project/src/app/app.module.ts index 8dfc1d6..cc3a2d4 100644 --- a/project/src/app/app.module.ts +++ b/project/src/app/app.module.ts @@ -2,10 +2,30 @@ import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { AppComponent } from './app.component'; +import { HeaderComponent } from './header/header.component'; +import { RecipesComponent } from './recipes/recipes.component'; +import { RecipesListComponent } from './recipes/recipes-list/recipes-list.component'; +import { RecipesDetailComponent } from './recipes/recipes-detail/recipes-detail.component'; +import { RecipesItemComponent } from './recipes/recipe-list/recipes-item/recipes-item.component'; +import { RecipeListComponent } from './recipes/recipe-list/recipe-list.component'; +import { RecipeDetailComponent } from './recipes/recipe-detail/recipe-detail.component'; +import { RecipeItemComponent } from './recipes/recipe-list/recipe-item/recipe-item.component'; +import { ShoppingListComponent } from './shopping-list/shopping-list.component'; +import { ShoppingEditComponent } from './shopping-list/shopping-edit/shopping-edit.component'; @NgModule({ declarations: [ - AppComponent + AppComponent, + HeaderComponent, + RecipesComponent, + RecipesListComponent, + RecipesDetailComponent, + RecipesItemComponent, + RecipeListComponent, + RecipeDetailComponent, + RecipeItemComponent, + ShoppingListComponent, + ShoppingEditComponent ], imports: [ BrowserModule diff --git a/project/src/app/header/header.component.css b/project/src/app/header/header.component.css new file mode 100644 index 0000000..e69de29 diff --git a/project/src/app/header/header.component.html b/project/src/app/header/header.component.html new file mode 100644 index 0000000..4f5a95d --- /dev/null +++ b/project/src/app/header/header.component.html @@ -0,0 +1 @@ +

header works!

diff --git a/project/src/app/header/header.component.ts b/project/src/app/header/header.component.ts new file mode 100644 index 0000000..a093fe7 --- /dev/null +++ b/project/src/app/header/header.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-header', + templateUrl: './header.component.html', + styleUrls: ['./header.component.css'] +}) +export class HeaderComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + +} diff --git a/project/src/app/recipes/recipe-detail/recipe-detail.component.css b/project/src/app/recipes/recipe-detail/recipe-detail.component.css new file mode 100644 index 0000000..e69de29 diff --git a/project/src/app/recipes/recipe-detail/recipe-detail.component.html b/project/src/app/recipes/recipe-detail/recipe-detail.component.html new file mode 100644 index 0000000..75833e3 --- /dev/null +++ b/project/src/app/recipes/recipe-detail/recipe-detail.component.html @@ -0,0 +1 @@ +

recipe-detail works!

diff --git a/project/src/app/recipes/recipe-detail/recipe-detail.component.ts b/project/src/app/recipes/recipe-detail/recipe-detail.component.ts new file mode 100644 index 0000000..809dd71 --- /dev/null +++ b/project/src/app/recipes/recipe-detail/recipe-detail.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-recipe-detail', + templateUrl: './recipe-detail.component.html', + styleUrls: ['./recipe-detail.component.css'] +}) +export class RecipeDetailComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + +} diff --git a/project/src/app/recipes/recipe-list/recipe-item/recipe-item.component.css b/project/src/app/recipes/recipe-list/recipe-item/recipe-item.component.css new file mode 100644 index 0000000..e69de29 diff --git a/project/src/app/recipes/recipe-list/recipe-item/recipe-item.component.html b/project/src/app/recipes/recipe-list/recipe-item/recipe-item.component.html new file mode 100644 index 0000000..c02c9ba --- /dev/null +++ b/project/src/app/recipes/recipe-list/recipe-item/recipe-item.component.html @@ -0,0 +1 @@ +

recipe-item works!

diff --git a/project/src/app/recipes/recipe-list/recipe-item/recipe-item.component.ts b/project/src/app/recipes/recipe-list/recipe-item/recipe-item.component.ts new file mode 100644 index 0000000..8b8e561 --- /dev/null +++ b/project/src/app/recipes/recipe-list/recipe-item/recipe-item.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-recipe-item', + templateUrl: './recipe-item.component.html', + styleUrls: ['./recipe-item.component.css'] +}) +export class RecipeItemComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + +} diff --git a/project/src/app/recipes/recipe-list/recipe-list.component.css b/project/src/app/recipes/recipe-list/recipe-list.component.css new file mode 100644 index 0000000..e69de29 diff --git a/project/src/app/recipes/recipe-list/recipe-list.component.html b/project/src/app/recipes/recipe-list/recipe-list.component.html new file mode 100644 index 0000000..ac36a67 --- /dev/null +++ b/project/src/app/recipes/recipe-list/recipe-list.component.html @@ -0,0 +1 @@ +

recipe-list works!

diff --git a/project/src/app/recipes/recipe-list/recipe-list.component.ts b/project/src/app/recipes/recipe-list/recipe-list.component.ts new file mode 100644 index 0000000..1394069 --- /dev/null +++ b/project/src/app/recipes/recipe-list/recipe-list.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-recipe-list', + templateUrl: './recipe-list.component.html', + styleUrls: ['./recipe-list.component.css'] +}) +export class RecipeListComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + +} diff --git a/project/src/app/recipes/recipes.component.css b/project/src/app/recipes/recipes.component.css new file mode 100644 index 0000000..e69de29 diff --git a/project/src/app/recipes/recipes.component.html b/project/src/app/recipes/recipes.component.html new file mode 100644 index 0000000..029d6ef --- /dev/null +++ b/project/src/app/recipes/recipes.component.html @@ -0,0 +1 @@ +

recipes works!

diff --git a/project/src/app/recipes/recipes.component.ts b/project/src/app/recipes/recipes.component.ts new file mode 100644 index 0000000..4e4595c --- /dev/null +++ b/project/src/app/recipes/recipes.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-recipes', + templateUrl: './recipes.component.html', + styleUrls: ['./recipes.component.css'] +}) +export class RecipesComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + +} diff --git a/project/src/app/shopping-list/shopping-edit/shopping-edit.component.css b/project/src/app/shopping-list/shopping-edit/shopping-edit.component.css new file mode 100644 index 0000000..e69de29 diff --git a/project/src/app/shopping-list/shopping-edit/shopping-edit.component.html b/project/src/app/shopping-list/shopping-edit/shopping-edit.component.html new file mode 100644 index 0000000..c98d6a9 --- /dev/null +++ b/project/src/app/shopping-list/shopping-edit/shopping-edit.component.html @@ -0,0 +1 @@ +

shopping-edit works!

diff --git a/project/src/app/shopping-list/shopping-edit/shopping-edit.component.ts b/project/src/app/shopping-list/shopping-edit/shopping-edit.component.ts new file mode 100644 index 0000000..e0bf0b8 --- /dev/null +++ b/project/src/app/shopping-list/shopping-edit/shopping-edit.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-shopping-edit', + templateUrl: './shopping-edit.component.html', + styleUrls: ['./shopping-edit.component.css'] +}) +export class ShoppingEditComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + +} diff --git a/project/src/app/shopping-list/shopping-list.component.css b/project/src/app/shopping-list/shopping-list.component.css new file mode 100644 index 0000000..e69de29 diff --git a/project/src/app/shopping-list/shopping-list.component.html b/project/src/app/shopping-list/shopping-list.component.html new file mode 100644 index 0000000..449f456 --- /dev/null +++ b/project/src/app/shopping-list/shopping-list.component.html @@ -0,0 +1 @@ +

shopping-list works!

diff --git a/project/src/app/shopping-list/shopping-list.component.ts b/project/src/app/shopping-list/shopping-list.component.ts new file mode 100644 index 0000000..991add0 --- /dev/null +++ b/project/src/app/shopping-list/shopping-list.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-shopping-list', + templateUrl: './shopping-list.component.html', + styleUrls: ['./shopping-list.component.css'] +}) +export class ShoppingListComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + +}