Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/abengl/coffee-listing

This is a coffee listing page designed to showcase various coffee products. The application uses Axios and features a reusable card component.
https://github.com/abengl/coffee-listing

axios css html javascript

Last synced: about 1 month ago
JSON representation

This is a coffee listing page designed to showcase various coffee products. The application uses Axios and features a reusable card component.

Awesome Lists containing this project

README

        

# Coffee Listing Page

This project is a coffee listing page ☕ designed to showcase various coffee products. The application uses Axios and features a reusable card component. The card component displays essential information about each coffee, including an image, name, pricing, rating, and number of votes. Additionally, the card can conditionally render popular tags and availability status.

The project includes functionality to fetch data from a provided API and allows users to filter the coffee list based on availability.
## User Stories

- **Create a Coffee Listing Page:** Develop a page that matches the given design for listing coffee products.
- **Reusable Card Component:** Create a card component that displays:
- Coffee picture | Coffee name | Pricing | Rating | Number of votes (if available) | Popular tag (conditionally rendered) | Availability status (conditionally rendered)
- **Fetch Data from API:** Retrieve coffee data from the API and render the coffee list accordingly.
- **Filter Options:** Allow users to view all products or filter to display only available products.

## API

The coffee data can be fetched from the following API 💻 :

- **API URL:** [Coffee Data API](https://raw.githubusercontent.com/devchallenges-io/web-project-ideas/main/front-end-projects/data/simple-coffee-listing-data.json)

## Technologies Used

- **HTTP Requests:** Axios
- **Deployment:** Vercel

## Setup and Installation

1. **Clone the Repository:**
```bash
git clone [repository-url]
```
2. **Navigate to the Project Directory:**
```bash
cd [project-directory]
```
3. **Install Dependencies:**
```bash
npm install
```
4. **Run the Application:**
```bash
npm start
```

## Contributing
Feel free to open issues or submit pull requests if you have suggestions or improvements for this project.

## License
This project is licensed under the MIT License - see the LICENSE file for details.

## Acknowledgments
DevChallenges.io for providing the project idea.