Table of Contents
comics-preview.mp4
Comics! is a project that uses the Marvel API to create a mock comic book store for learning about Astro and Tailwind CSS.
In the Comics! store:
- the user can search for comics by name;
- view the comic details;
- add them to the cart;
- and complete the purchase.
To run the project locally, follow these steps.
- Node.js 18.17.1 or higher and npm installed on your computer (you can get them here);
- A Marvel API key and hash (you can get them here).
- Clone the repo
git clone https://github.com/IgorAtilar/comics.git
- Access the project directory
cd comics
- Install NPM packages
npm install
- Create a .env file in the root directory based on the .env.example file and add your Marvel API key and hash
MARVEL_API_KEY=your_api_key
MARVEL_API_HASH=your_api_hash
- Run the project
npm run dev
You can access the project at http://localhost:4321 after running the project.