Skip to content

AryelPenido/Marvel-Characters-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Marvel-Characters-API

Consuming Marvel API with nodeJs and Angular

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

MARVEL_PUBLIC_KEY

MARVEL_PRIVATE_KEY

Install & Run Locally

Install the API project with

  cd API
  npm install

Run to start nodemon server

  npm install

Install the Angular project with

  cd FrontEnd
  npm install

Run to lauch application in the browser

  ng serve

API Reference

Get all characters(limited by Marvel API itself)

  GET api/characters/

Get one Character

  GET /api/characters/${id}
Parameter Type Description
id string Required. Id of character to fetch

Get Comics from Character

  GET /api/characters/${id}/comics
Parameter Type Description
id string Required. Id of character to fetch

Tech Stack

Client: Angular, HTML, Scss

Server: Node, Express

About

Consumindo a API da Marvel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published