Skip to content

[Interview] Use Marvel's API to list their comics.

Notifications You must be signed in to change notification settings

danidanimoraes/comics

Repository files navigation

Comics

Use Marvel's API to list their comics. Each comic includes a link to see more details about it. It includes also a link to the comic on Marvel's website, as directed by their API.

IT is possible to search comics by character name, and it shows 10 comics per page.

Usage

To make the code work, clone it and run

npm install

You should have a public key and a private key provided by Marvel on https://developer.marvel.com/. Create a ".env" file on the root of the project and include them, as following:

REACT_APP_PRIVATE_KEY=abcdefgh123

REACT_APP_PUBLIC_KEY=abcdefgh123

Don't change these names. Then, run

npm start

Gh-pages

It is served here: https://danidanimoraes.github.io/comics/

Images

The landing page containing all comics and a filter button. Each comic has a button that opens the link to this comic page on marvel domain.

Comics landing page

The pagination is made in a familiar way.

Pagination

Filtering a comic by character

Filter

Opening a specific comic. It show some details and it has also a link to this comic on marvel domain.

Comic 1 Comic 2

About

[Interview] Use Marvel's API to list their comics.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published