https://github.com/kenken64/angular-marvel-superheroes
angular-marvel-superheroes
https://github.com/kenken64/angular-marvel-superheroes
Last synced: about 2 months ago
JSON representation
angular-marvel-superheroes
- Host: GitHub
- URL: https://github.com/kenken64/angular-marvel-superheroes
- Owner: kenken64
- Created: 2018-11-16T16:37:38.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T02:35:27.000Z (over 2 years ago)
- Last Synced: 2025-04-24T03:44:39.361Z (about 2 months ago)
- Language: TypeScript
- Size: 3.51 MB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 28
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AngularMarvelHeros
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 7.0.3.
## 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.
## Installing modules
Run `npm install` if you have just cloned from github.
## Marvel Developer Key
Replace the string `__YOUR_API_KEY__` with your Marvel Developer API key in `app.module.ts`.
You will also need to add your IP address into ['Your authorized referrers'](https://developer.marvel.com/account) in My Developer Account. Otherwise you will get a `401`. Seems like the Marvel API is meant to be called from the server.https://gateway.marvel.com:443/v1/public/characters?limit=20&offset=20&apikey=76ee705b0c648cd243529c1870cfbf79
curl --referer localhost http://gateway.marvel.com:80/v1/public/characters?apikey=f389fcb49ad574e10ca570867f4bfa43