Code Monkey home page Code Monkey logo

hero-app's Introduction

AppHero

This project was generated with [Angular CLI] version 14.1.3. Node version 16.15.1 Angular Material version 14.2.3

COMPONENTS

AppComponent: This component renders the application title and the . DashboardComponent: Main component that allows to render the component 'HeroesListComponent' and handles the events of editing, adding or removing heroes. HeroesListComponent: Render the list of heroes and dispatch the events of adding, editing, or removing heroes. It also allows you to filter heroes and paginate them. HeroFormComponent: Form that is displayed if the user wants to edit or add a hero. LoadingSpinnerComponent: Render a load spinner. MessageDialogComponent: Shared modal template.

SERVICES

HeroService: Service that executes the following requests to the server:

  1. getHeroes : get all heroes
  2. getHeroById: get a hero from the ID
  3. searchHeroesByName: obtains an array of heroes from a string
  4. addHero. add a new hero
  5. deleteHero: delete a hero
  6. updateHero: update a hero

InMemoryDataService: Allows you to simulate a server

MessageDialogService: Service created to be able to render the MessageDialogComponent in multiple components.

DIRECTIVE

UpperCaseInputDirective: Allows the user to capitalize the text entered in the input at the same time as entering the value.

hero-app's People

Contributors

micaf avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.