An open API service indexing awesome lists of open source software.

https://github.com/iamsushantk/pet-app

A simple pet app written in Angular
https://github.com/iamsushantk/pet-app

angular code-challenge

Last synced: 10 months ago
JSON representation

A simple pet app written in Angular

Awesome Lists containing this project

README

          

# Overview

A simple pet app written in Angular.

The application fetches the pet data from the web service and then displays list of all the cats in an alphabetical order under a heading of the gender of their owner.

Example:

```
Male
Angel
Molly
Tigger

Female
Gizmo
Jasper
Notes
```

`This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.1.0.`

# Pet app in action

**`Note that this screenshot is based on current result returned by web service`**

![](main.png)

# Test Result

![](test.png)

# Development

## Prerequisite

Angular CLI from https://cli.angular.io/

## Development server

Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.

## Code scaffolding

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.

## Build

Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.

## Running unit tests

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).