Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
133 changes: 25 additions & 108 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,132 +1,49 @@
# ClaudeClothes - Casual Clothing Sales Platform
# ClaudeClothes

A modern e-commerce platform for selling casual clothing, built with .NET 8, Blazor Server, Entity Framework Core, and SQL Server.
> Demo project for the session **"From user story to release, powered by AI"** at [SharpCoding 2026](https://conf.sharpcoding.it/).

## 🎯 Features
This is a sample e-commerce platform for casual clothing, built entirely with AI-assisted development to demonstrate a complete workflow from user story to production release.

- **Product Catalog**: 9 casual clothing items with details, prices, and sizes
- **Review System**: Customers can leave reviews and ratings
- **Pagination**: Homepage with product pagination (3 per page)
- **Responsive Design**: Interface optimized for mobile and desktop
- **Casual Colors**: Denim blue (#5B8DBE), military green (#7BA05B), and concrete gray (#95A3A6) palette
## The Session

## 📦 Technologies
The session explores how AI tools can drive the entire software development lifecycle: writing user stories, generating code, running tests, performing code reviews, and deploying to production. **ClaudeClothes** is the live example used throughout the talk.

- **.NET 8**: Backend framework
- **Blazor Server**: Interactive UI
- **Entity Framework Core 9**: ORM
- **SQL Server 2022**: Database
- **Docker**: SQL Server containerization
- **NUnit**: Testing framework
## Tech Stack

## 🏗️ Architecture
- **.NET 8** / **Blazor Server** / **Entity Framework Core 9**
- **SQL Server 2022** (Azure SQL for prod)
- **NUnit** for testing
- **Azure App Service** for deployment

\`\`\`
ClaudeClothes/
├── src/
│ ├── ClaudeClothes.Core/ # Domain models and interfaces
│ ├── ClaudeClothes.Infrastructure/ # EF Core, Services, Data
│ └── ClaudeClothes.Web/ # Blazor Server UI
└── tests/
└── ClaudeClothes.Tests/ # Unit tests
\`\`\`
## Quick Start

## 🚀 Quick Start
**Prerequisites:** .NET 8 SDK, SQL Server (local or Docker)

### Prerequisites
- .NET 8 SDK
- Docker Desktop

### Quick Start

**macOS/Linux:**
\`\`\`bash
./scripts/start-dev.sh
\`\`\`

**Windows PowerShell:**
\`\`\`powershell
.\scripts\start-dev.ps1
\`\`\`

The application will be available at: **https://localhost:5001**

### Manual Commands

\`\`\`bash
# Start SQL Server
docker-compose up -d

# Build and Run
```bash
dotnet restore
dotnet build
cd src/ClaudeClothes.Web
dotnet run
dotnet run --project src/ClaudeClothes.Web
```

# Run tests
dotnet test
\`\`\`
App available at: **https://localhost:5001**

## 💾 Database
### Tests

### Development Configuration
- **Server**: localhost,1433
- **Database**: claudeclothes_dev
- **Username**: sa
- **Password**: ClaudeClothes2024!
```bash
dotnet test
```

### Migrations
## Database

\`\`\`bash
# Create migration
```bash
# Add migration
cd src/ClaudeClothes.Infrastructure
dotnet ef migrations add MigrationName --startup-project ../ClaudeClothes.Web

# Apply migration
dotnet ef database update --startup-project ../ClaudeClothes.Web
\`\`\`

### Reset Database

\`\`\`bash
docker-compose down -v
docker-compose up -d
\`\`\`

## 🧪 Testing

\`\`\`bash
# Run all tests
dotnet test

# Run specific test class
dotnet test --filter "FullyQualifiedName~ClothingItemServiceTests"
\`\`\`

## 📁 Data Structure

### ClothingItem
- Name, Category, Description
- **Price** (€), **Available Sizes**
- Average rating, Reviews

### Review
- Reviewer, Comment, Rating (1-5 stars)
- Creation date

## 🎨 Design

**Theme Colors:**
- Denim Blue: \`#5B8DBE\`
- Military Green: \`#7BA05B\`
- Concrete Gray: \`#95A3A6\`

**Font:** Inter (Google Fonts)

## 📝 License

MIT License - © 2026 ClaudeClothes
```

---

**Made with ❤️ for casual style lovers**
**SharpCoding 2026** - [conf.sharpcoding.it](https://conf.sharpcoding.it/)
30 changes: 0 additions & 30 deletions docker-compose.yml

This file was deleted.

55 changes: 0 additions & 55 deletions scripts/start-dev.ps1

This file was deleted.

42 changes: 0 additions & 42 deletions scripts/start-dev.sh

This file was deleted.

14 changes: 0 additions & 14 deletions scripts/stop-dev.ps1

This file was deleted.

14 changes: 0 additions & 14 deletions scripts/stop-dev.sh

This file was deleted.

Binary file added slides/slides.pdf
Binary file not shown.