Logo Lanfrica

JOHN-art-bit/wear-your-root

Creator:
JOH
Host:
Wear your root - A premium platform celebrating African cultures through smart clothing with QR codes # Wear Your Root 🌍 **Celebrate African cultures through smart clothing with QR codes** A premium, modern platform that connects T-shirts with cultural narratives. Each QR code-equipped garment opens a gateway to discover the rich history, traditions, and identity of African cultures. ## πŸš€ Quick Start ### Prerequisites - Node.js 18+ - npm or yarn ### Installation ```bash # Clone the repository git clone github.com cd wear-your-root # Install dependencies npm install # Copy environment variables cp .env.local.example .env.local # Start development server npm run dev ``` Open localhost with your browser to see the result. ## πŸ“ Project Structure ``` wear-your-root/ β”œβ”€β”€ app/ # Next.js app directory β”‚ β”œβ”€β”€ page.tsx # Homepage β”‚ β”œβ”€β”€ layout.tsx # Root layout β”‚ β”œβ”€β”€ cultures/ # Culture listing page β”‚ β”œβ”€β”€ culture/[slug]/ # Dynamic culture pages β”‚ β”œβ”€β”€ admin/ # Admin dashboard β”‚ β”œβ”€β”€ api/ # API routes β”‚ β”œβ”€β”€ about/ # About page β”‚ β”œβ”€β”€ contact/ # Contact page β”‚ └── globals.css # Global styles β”œβ”€β”€ components/ # Reusable React components β”‚ β”œβ”€β”€ layout/ # Layout components (Header, Footer, etc.) β”‚ β”œβ”€β”€ sections/ # Page section components β”‚ β”œβ”€β”€ culture/ # Culture-specific components β”‚ β”œβ”€β”€ admin/ # Admin components β”‚ └── common/ # Shared UI components β”œβ”€β”€ data/ # Data management β”‚ β”œβ”€β”€ cultures.ts # Culture database β”‚ β”œβ”€β”€ products.ts # Product database β”‚ └── types.ts # TypeScript types β”œβ”€β”€ lib/ # Utility functions β”‚ β”œβ”€β”€ qrcode.ts # QR code generation β”‚ β”œβ”€β”€ analytics.ts # Analytics helpers β”‚ └── utils.ts # General utilities β”œβ”€β”€ public/ # Static assets β”‚ β”œβ”€β”€ images/ …