A modern, animated e-commerce platform built with Next.js 14, featuring premium peanut butter products with stunning animations and user interactions.
- Modern UI/UX: Built with Tailwind CSS and shadcn/ui components
- Smooth Animations: Framer Motion animations throughout the site
- Authentication: Clerk integration for user management
- Database: Vercel Postgres for data persistence
- Responsive Design: Mobile-first approach with beautiful desktop layouts
- Product Management: Dynamic product pages with variants
- Shopping Cart: Full cart functionality with Zustand state management
- Framework: Next.js 14 (App Router)
- Styling: Tailwind CSS
- UI Components: Radix UI + shadcn/ui
- Animations: Framer Motion
- Authentication: Clerk
- Database: Vercel Postgres
- State Management: Zustand
- Icons: Lucide React, Heroicons, FontAwesome
- Clone the repository:
git clone <repository-url>
cd superdanko- Install dependencies:
npm install- Set up environment variables:
cp .env.example .env.local- Configure your environment variables in
.env.local:
# Clerk Authentication
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key
CLERK_SECRET_KEY=your_clerk_secret_key
# Vercel Postgres Database
POSTGRES_URL=your_postgres_url
POSTGRES_PRISMA_URL=your_postgres_prisma_url
POSTGRES_URL_NON_POOLING=your_postgres_url_non_pooling
POSTGRES_USER=your_postgres_user
POSTGRES_HOST=your_postgres_host
POSTGRES_PASSWORD=your_postgres_password
POSTGRES_DATABASE=your_postgres_database- Run the development server:
npm run dev- Open http://localhost:3000 in your browser.
- Push your code to GitHub
- Connect your repository to Vercel
- Add environment variables in Vercel dashboard
- Deploy!
- Build the project:
npm run build- Start the production server:
npm startThe project includes seed scripts for initial data:
# Seed all data
npm run seed
# Or seed individual tables
npm run seedUsers
npm run seedCategories
npm run seedProducts
npm run seedCart
npm run seedOrders├── app/ # Next.js App Router
│ ├── (about)/ # About page route group
│ ├── (blog)/ # Blog page route group
│ ├── (particles)/ # Ingredients page route group
│ ├── (product)/ # Product detail route group
│ ├── (products)/ # Products listing route group
│ ├── auth/ # Authentication pages
│ ├── components/ # React components
│ └── globals.css # Global styles
├── components/ # Shared UI components
├── lib/ # Utility functions and types
├── hooks/ # Custom React hooks
├── store/ # Zustand stores
├── scripts/ # Database seed scripts
└── public/ # Static assets
- Hero: Animated landing section with floating particles
- ProductList: Dynamic product grid with animations
- SuperdankoBrain/Arm: Feature sections with 3D animations
- Ingredients: Interactive ingredient showcase
- Cart: Shopping cart with real-time updates
- Linting: ESLint with Next.js config
- Type Checking: TypeScript strict mode
- Formatting: Prettier (recommended)
This project is private and proprietary.
This is a private project. For any issues or suggestions, please contact the development team.