A simple Amazon-inspired e-commerce frontend built with React, TypeScript, and Tailwind CSS.
It features product listings, a shopping cart, and a clean, responsive design.
- Product listing with images and prices
- Add to cart / ➖ Remove from cart
- Cart item count and total price calculation
- Responsive layout with Tailwind CSS
- ⚛️ React + TypeScript
- 🎨 Tailwind CSS
- 🌐 Netlify (deployment)
-We performed Load, Stress, and Spike testing using k6
| Test Type | Virtual Users | Avg Response Time | p(95) Latency | Error Rate | Notes |
|---|---|---|---|---|---|
| Load Test | 50 → 100 VUs | ~320 ms | < 500 ms | 1.5% | Stable under normal usage |
| Stress Test | 50 → 500 VUs | ~1.2 s | ~2.1 s | 18% | System slows under heavy load |
| Spike Test | 200 VUs sudden | ~1.4 s | ~2.68 s | 47% | High failure rate – not scaling well |
project-root/
│
├── k6-tests/ # Load, stress, spike test scripts
│ ├── load-test.js
│ ├── spike-test.js
│ └── stress-test.js
│
├── results/ # Raw outputs + charts
│ ├── response-times.png
│ ├── error-rate.png
│ ├── success-rate.png
│ └── raw-logs.txt
│
├── reports/ # Final QA/Performance reports
│ └── performance-report.md
│
├── src/ # Application source code
│
├── tests/ # Unit / integration tests
│
└── README.md # Main project readme
## 🛠️ Run Locally
```bash
# Clone repository
git clone https://github.com/Jutehk/project.git
# Navigate into folder
cd project
# Install dependencies
npm install
# Run development server
npm run dev