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

https://github.com/bampakoa/angular-heroes

An Angular application that interacts with the Marvel Comics API
https://github.com/bampakoa/angular-heroes

angular angular-material

Last synced: 3 months ago
JSON representation

An Angular application that interacts with the Marvel Comics API

Awesome Lists containing this project

README

        

# Angular Heroes

An Angular application that uses Angular Material and interacts with the [Marvel Comics API](https://developer.marvel.com/documentation/getting_started). The purpose of the application is to demonstrate how to apply common Angular techniques and use some of the Angular Material components.

It provides a basic search engine over the characters and comics Marvel database. It allows to find a hero character and view information such as basic details and comics.

Preview

## Setup

Clone this repo to your desktop and run `npm install` to install all the dependencies.

## Usage

Before you start, you must acquire a developer key from [Marvel Developer Portal](https://developer.marvel.com/). After you get one,
replace `apiKey` variable in `src\app\auth-interceptor.service.ts` file with the newly acquired **public** key.

```
const apiKey = '';
```

Run `ng serve` to start the application. You will then be able to access it at http://localhost:4200