KKKaysie Kane Amadorinkaysieamador.hashnode.dev·Nov 29, 2024 · 3 min readActivity 33: Angular Recipe GridCreate a List of Object Data Structures recipe.service.ts import { Injectable } from "@angular/core"; import { Recipe } from "./recipe.model"; @Injectable({ providedIn: 'root', }) export class RecipeService { getRecipes(): Recipe[] { ...00
KKKaysie Kane Amadorinkaysieamador.hashnode.dev·Nov 28, 2024 · 2 min readActivity 32: Angular Library GridCreate a List of Object Data Structures book.service.ts import { Injectable } from "@angular/core"; import { Book } from "./book.model"; @Injectable({ providedIn: 'root', }) export class BookService { getBooks(): Book[] { return [ ...00
KKKaysie Kane Amadorinkaysieamador.hashnode.dev·Nov 28, 2024 · 5 min readActivity 31: Angular Ecommerce Product ListCreate a List of Object Data Structures product.service.ts import { Injectable } from '@angular/core'; import { Product } from './product.model'; @Injectable({ providedIn: 'root', }) export class ProductService { getProducts(): Product[] { r...00
KKKaysie Kane Amadorinkaysieamador.hashnode.dev·Nov 26, 2024 · 5 min readActivity 30: HTTP Status CodesHTTP status codes are integral to RESTful APIs as they convey the outcome of a client's request to the server. They are categorized into five main groups, each corresponding to different types of results: informational, success, redirection, client e...00
KKKaysie Kane Amadorinkaysieamador.hashnode.dev·Nov 26, 2024 · 3 min readActivity 29: HTTP MethodsIn RESTful APIs, HTTP methods define the actions that can be performed on the resources (data entities) available on the server. Here's an overview of the most commonly used HTTP methods and how they are typically applied: 1. GET (Retrieve Data) The ...00