Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 1.21 KB

README.md

File metadata and controls

34 lines (20 loc) · 1.21 KB

MarvelAngular

An Angular application that uses Angular Material and interacts with the Marvel Comics API. 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.

Setup

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

Build

ng build --aot --output-hashing=all --prod --base-href "/marvel/" --deploy-url "/marvel/"

Preview

https://marvel.hasancali.dev

Usage

Before you start, you must acquire a developer key from Marvel Developer Portal. After you get one, replace apiKey variable in src/environments files with the newly acquired public key.

export const environment = {
  ...
  apiEndpoint: 'https://gateway.marvel.com/v1/public/',
  apiKey: '<Your public key here>'
};

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