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

https://github.com/bugsterapp/bugster-demo-app


https://github.com/bugsterapp/bugster-demo-app

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

          

# BugShop - Next.js E-commerce Demo

A modern Next.js e-commerce demo application featuring a complete shopping experience with product browsing, cart management, and responsive design.

## ๐Ÿš€ Perfect Demo Application

This demo provides a complete e-commerce platform with realistic user flows, perfect for demonstrations and testing various tools and integrations.

## ๐Ÿ›’ Features

- **Product Catalog**: Browse and filter products by category
- **Shopping Cart**: Add, remove, and modify cart items
- **Modern UI**: Clean, responsive design with Tailwind CSS
- **Search**: Product search functionality
- **Mobile Friendly**: Works seamlessly on all device sizes

## ๐Ÿšฆ Quick Start

### Prerequisites

- Node.js 18+
- npm or yarn

### Installation

1. **Clone the repository**
```bash
git clone
cd vercel-nextjs-demo
```

2. **Install dependencies**
```bash
npm install
```

3. **Run the development server**
```bash
npm run dev
```

4. **Open your browser**
Navigate to [http://localhost:3000](http://localhost:3000)

### Available Scripts

```bash
npm run dev # Start development server
npm run build # Build for production
npm run start # Start production server
npm run lint # Run ESLint
```

## ๐Ÿงช Testing with Bugster

[Bugster](https://bugster.dev) is an autonomous QA agent that tests your app by using it like a real user.

### Setup

1. **Deploy to Vercel**

2. **Install Bugster CLI**
```bash
npm install -g @bugster/cli
```

For GitHub integration and automated testing on PRs, visit the [Bugster Dashboard](https://gui.bugster.dev).

## ๐Ÿ“ Project Structure

```
vercel-nextjs-demo/
โ”œโ”€โ”€ app/ # Next.js 13+ app directory
โ”‚ โ”œโ”€โ”€ globals.css # Global styles
โ”‚ โ”œโ”€โ”€ layout.tsx # Root layout
โ”‚ โ”œโ”€โ”€ page.tsx # Homepage
โ”‚ โ”œโ”€โ”€ products/ # Products pages
โ”‚ โ””โ”€โ”€ cart/ # Shopping cart
โ”œโ”€โ”€ components/ # React components
โ”‚ โ”œโ”€โ”€ CartContext.tsx # Cart state management
โ”‚ โ”œโ”€โ”€ Header.tsx # Navigation
โ”‚ โ”œโ”€โ”€ Footer.tsx # Footer
โ”‚ โ””โ”€โ”€ ProductCard.tsx # Product display
โ”œโ”€โ”€ data/ # Mock data
โ”‚ โ””โ”€โ”€ products.ts # Product catalog
โ””โ”€โ”€ README.md
```

## ๐ŸŽจ Technology Stack

- **Framework**: Next.js 14 with App Router
- **Styling**: Tailwind CSS
- **Icons**: Lucide React
- **Language**: TypeScript
- **State Management**: React Context API

## ๐Ÿš€ Deployment

### Vercel (Recommended)

1. Connect your GitHub repository to Vercel
2. Deploy automatically with every push
3. Get preview deployments for pull requests

### Other Options

- **Netlify**: Next.js compatible
- **Railway**: Node.js platform
- **DigitalOcean**: App Platform
- **AWS**: Amplify hosting

## ๐Ÿ”ง Customization

- **Add Products**: Edit `data/products.ts`
- **New Pages**: Add routes in `app/` directory
- **Styling**: Modify Tailwind classes
- **Components**: Update React components as needed

## ๐Ÿ“ License

MIT License - feel free to use for your own projects.

## ๐Ÿ”— Links

- **[Bugster](https://bugster.dev)** - Autonomous QA testing
- **[Next.js](https://nextjs.org/docs)** - React framework
- **[Tailwind CSS](https://tailwindcss.com)** - Styling framework
- **[Vercel](https://vercel.com)** - Deployment platform