Alpine Markt is a simple e-commerce website that allows users to add products to a shopping cart and calculate the total price of the products. The shopping cart data is stored in the local storage, so the data persists even after the page is refreshed.
Demo: alpine-markt.vercel.app
- API Integration: The application uses the DummyJSON API to fetch product data.
- Add Products: Add products to the shopping cart.
- Remove Products: Remove products from the shopping cart.
- Search Products: Search for products by name.
- Sort Products: Sort products by price.
- Clear Cart: Clear the shopping cart and remove all products.
- Calculate Total: Calculate the total price of the products in the shopping cart.
- Local Storage: The shopping cart data is stored in the local storage.
- Responsive Design: The application is responsive and works on all devices.
- Framework: Alpine.js
- Styling: Tailwind CSS
- API: DummyJSON
- Linting: ESLint
- Formatting: Prettier
- Testing: Jest, Cypress, Cucumber
- Package Manager: PNPM
- Build Tool: Vite
- Deployment: Vercel
To get started with this project, follow these steps:
- Clone the repository:
git clone https://github.com/zorkham/alpine-markt.git
- Install dependencies:
pnpm install
- Run project locally:
pnpm dev
- Open your browser: Go to
http://localhost:3000
to see the app in action.
This project uses Jest, Cypress, and Cucumber for testing. To run the tests, use the following commands:
-
Unit Tests:
pnpm test
-
E2E Tests:
pnpm test:e2e
-
All Tests:
pnpm test:all