mycopunk-swag/backlog/tasks/task-001 - Mycopunk-Swag-St...

63 lines
1.9 KiB
Markdown

---
id: task-001
title: Mycopunk Swag Store - Initial Deployment & Features
status: Done
assignee: []
created_date: '2026-01-31 15:41'
updated_date: '2026-01-31 15:43'
labels:
- swag-store
- deployment
- ai-generation
dependencies: []
priority: high
---
## Description
<!-- SECTION:DESCRIPTION:BEGIN -->
Built and deployed a full e-commerce platform for mycopunk merchandise at swag.mycofi.earth with AI-powered design generation capabilities.
<!-- SECTION:DESCRIPTION:END -->
## Acceptance Criteria
<!-- AC:BEGIN -->
- [x] #1 Store accessible at swag.mycofi.earth
- [x] #2 Products display without duplicates
- [x] #3 Design Swag AI generation feature working
- [x] #4 Build Infrastructure Not Empires as featured product
- [x] #5 Images load correctly for all products
<!-- AC:END -->
## Implementation Notes
<!-- SECTION:NOTES:BEGIN -->
## Work Completed (2026-01-31)
### Infrastructure
- Created new repo: mycopunk-swag-store (Next.js 15 + FastAPI + PostgreSQL)
- Deployed to Netcup RS 8000 via Docker Compose
- Added to Cloudflare tunnel at swag.mycofi.earth
- Configured Traefik routing for frontend and API
### Features Implemented
- **Product Catalog**: Displays designs from mycopunk-swag repo
- **Design Swag**: AI-powered sticker generation using Gemini 3 Pro Image
- **Cart System**: Add to cart functionality (Stripe integration pending)
### Bug Fixes
- Fixed SKU type validation (int to string conversion)
- Fixed product duplicates (grouped by design instead of per-provider)
- Fixed design cache not clearing on activation
- Fixed container permissions for writable designs volume
- Fixed Gemini API model name (gemini-3-pro-image-preview)
### Active Designs
1. Build Infrastructure Not Empires (featured)
2. Mycelial Revolution (AI-generated)
### Pending
- Stripe API keys for checkout
- Prodigi/Printful API keys for fulfillment
- Admin panel authentication
<!-- SECTION:NOTES:END -->