A modern, full-featured sticker shop built with React, Vite, and Shopify Storefront API.
- 🛍️ Shopify Integration - Headless e-commerce with Shopify Storefront API
- 🌍 Multi-Language - German and English with react-i18next
- 🍪 GDPR Compliant - Cookie consent banner with granular controls
- 🎨 Centralized Branding - All styles via CSS custom properties
- 📝 Local Fonts - Self-hosted Google Fonts (Inter + Roboto)
- ✨ Animations - Framer Motion for smooth interactions
- 📤 File Upload - Custom design upload with rights confirmation
- 📱 Responsive - Mobile-first design
- 🚀 Vercel Ready - Optimized for deployment on Vercel
- Node.js 18+
- npm or yarn
- Shopify Store with Storefront API access
# Install dependencies
npm install
# Copy environment variables
cp .env.example .env.localEdit .env.local with your Shopify credentials:
VITE_SHOPIFY_STORE_DOMAIN=your-store.myshopify.com
VITE_SHOPIFY_STOREFRONT_ACCESS_TOKEN=your-storefront-access-token
VITE_GA_MEASUREMENT_ID=G-XXXXXXXXXX # OptionalDownload the required fonts and place them in public/fonts/:
- Inter (Regular, Medium, SemiBold, Bold)
- Roboto (Regular, Medium, Bold)
See public/fonts/README.md for detailed instructions.
# Start development server
npm run dev
# Build for production
npm run build
# Preview production build
npm run preview
# Run linting
npm run lintsrc/
├── components/
│ ├── cart/ # Cart drawer component
│ ├── common/ # Shared UI components
│ ├── forms/ # Form components
│ ├── layout/ # Header, Footer, Layout
│ └── product/ # Product-related components
├── context/ # React Context providers
├── hooks/ # Custom React hooks
├── lib/ # Utilities and API clients
├── pages/ # Route pages
├── styles/ # Additional styles
└── types/ # TypeScript type definitions
All brand colors, fonts, and spacing are defined in src/index.css as CSS custom properties:
:root {
--color-primary: #FF6B35;
--color-secondary: #4ECDC4;
--font-family-primary: 'Inter', sans-serif;
/* ... */
}Translation files are embedded in src/lib/i18n.ts. Add new languages by extending the resources object.
- Push your code to GitHub
- Connect repository to Vercel
- Add environment variables in Vercel dashboard
- Deploy!
The project includes vercel.json for optimal configuration.
Build the project and deploy the dist folder:
npm run build
# Deploy contents of ./distSee agents.md for development guidelines, coding standards, and best practices.
MIT License