Marvel's public API provided connected resources and imagery for a hands-on React exercise. The project focused on understanding the implementation patterns behind an interactive interface.

Make the relationships browsable

The API exposed characters, comics, and series, along with relationships between them. I used two main layouts: a search-and-results page and a detail page.

From a character, someone could explore related comics and series. From a comic, they could follow its characters or series. This made the data relationships a useful interface problem to work through.

Animated demonstration of search and browsing on desktop
Searching and exploring the connected Marvel resources.

Work through the React patterns of the time

The project used Create React App, custom-react-scripts, and Bootstrap. Class-based container components fetched data and passed it to presentation components, with local state holding the results.

The structure was more elaborate than this small application needed, but it gave me experience with a pattern used by our team. The app was deployed on Netlify.

Animated demonstration of the Marvel interface on mobile
The browse-and-detail pattern on a smaller screen.

Original demo ยท Source code

What I learned

Building with the same framework as our development team gave me practical experience with data fetching, state, and component boundaries. The result was intentionally limited: it used a mostly standard visual foundation and had no automated tests.

Tags