Giter Site home page Giter Site logo

herovillainapi's Introduction

The Super Heroes/Villains Website

The purpose of this project is to build a website where you lookup Super Heroes/Villain information. While browsing the internet, I could only find Super Heroes/Villain websites that were limited to a single comic book universe, DC-only, Marvel-only, etc. This website combines Super Heroes/Villains data from Marvel, DC and more!. The goal of this website is to make it to the number 1 site for all Super Heroes/Villains information.

This is a project was bootstrapped with Create React App.

Here is the URL for the page: https://master--shiny-muffin-437497.netlify.app/

The website is divided into 3 main Sections, HOME, SEARCH, FAVORITES, Character Details

HOME

  • This page contains a list of all Super Heroes/Villains. Please scroll thru the Carousel.
  • Click on the image for more information about the character.
  • Click on the "Add to Favorites" button to add to your personal list of favorite characters
  • View Characters by categories (Comic Universe: Marvel, DC, Other, more to come)

super1

SEARCH

  • You can search for a specific character on this page.
  • You can select a character from the search preview or hit ENTER/SEARCH to see all results of your search super2

super3

FAVORITES

  • This page your personal list of favorite characters.
  • You can delete any characters you no longer want in your favorites super4

Character Details

  • Click on the character to view details such as: Code Name, Full Name, POWER STATS (Combat, Durability, Intelligence, Power, Speed, Strength) Biography, and more
  • super5

Technical Setup

This website gathers data from 2 separate APIs. https://www.superheroapi.com/ -- This allows us to search by Character Name and ID and other stats, But doesn't provides a full list of characters all at once. This is suitable for searching. 2 types of Fetch calls are being made to this API -- for SEARCH page & CHARACTER page.

https://akabab.github.io/superhero-api/api -- This provides a full list of characters all at once. This is suitable for the Home Page. 1 Fetch call is being made to this API -- for HOME page.

There are 6 components and 5 pages

The Favorites page stores the favorite characters in Local Storage of the browser

Update 1 -- Oct 3rd 2023

  • A Carousel Slider has been added to the Home Page
  • The Home page has 3 categories that lists the characters by Comic Universes - Marvel , DC, Other more categories to come
  • A Search preview has been added to the Search Page
  • Internal features have also been updated, more CSS, custom hook for fetch calls, etc
  • The Home page randomnly displays different characters on each page load for each universe -- ShuffleSliceArray function created

FUTURE FEATURES

  • Add more CSS styling
  • Add More Categories/Filters to the Home Page
  • Add a Footer
  • Improve Navigation Menu
  • Add a random back ground for each page
  • Upgrade the use of Local Storage to Redux/Context
  • Add error message when you search for a hero that can't be found

herovillainapi's People

Contributors

mrfritzg avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.