Welcome to The Heroes! This is an open-source project that showcases a website of superheroes, leveraging the Marvel API and built using the Vite framework. This project is created for the HackClub Arcade.
- Introduction
- Features
- Installation
- Usage
- Contributing
- License
- Acknowledgements
The Heroes is a web application that allows users to explore various superheroes from the Marvel universe. The project aims to provide a fun and interactive way to learn about different superheroes, their powers, and their stories.
- Marvel API Integration: Fetches data about superheroes directly from the Marvel API.
- Responsive Design: Optimized for both desktop and mobile devices.
- Search Functionality: Easily search for your favorite superheroes.
- Detailed Information: View detailed information about each superhero, including their powers, history, and more.
To get started with the project, follow these steps:
-
Clone the repository:
git clone https://github.com/yourusername/the-heroes.git cd the-heroes
-
Install dependencies:
npm install
-
Set up Marvel API:
- Obtain your API key from the Marvel Developer Portal.
- Create a
.env
file in the root directory and add your API key:VITE_MARVEL_PUBLIC_KEY = "your_api_key_here" VITE_MARVEL_PRIVATE_KEY = "your_api_key_here"
-
Run the development server:
npm run dev
Once the development server is running, you can access the application at http://localhost:3000
. Use the search bar to find your favorite superheroes and explore their profiles.
We welcome contributions from the community! If you'd like to contribute, please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature-name
- Make your changes.
- Commit your changes:
git commit -m "Add your commit message"
- Push to the branch:
git push origin feature/your-feature-name
- Create a Pull Request.
This project is licensed under the MIT License. See the LICENSE file for more details.
- Thanks to Marvel for providing the API.
- Special thanks to HackClub Arcade for the inspiration and support.
Happy coding! If you have any questions or need further assistance, feel free to reach out.