Skip to content

Quadwinner/Alouora

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

33 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Beautify/Alouora E-Commerce Platform

A modern beauty e-commerce platform featuring dual branding (BEAUTIFY & ALOUORA) with 32+ screens, built with Next.js 14, TypeScript, and Supabase.

Version Next.js TypeScript TailwindCSS


🌟 Features

Dual Brand System

  • BEAUTIFY - Authentication, Cart, Simple flows with soft pink aesthetics
  • ALOUORA - Main shopping experience with elegant, sophisticated design

Core Functionality

  • πŸ” Authentication (Google OAuth + Phone OTP)
  • πŸ›οΈ Product Catalog & Advanced Filtering
  • πŸ›’ Shopping Cart & Checkout
  • πŸ’³ Payment Integration (Razorpay, Stripe, UPI, Wallets, COD)
  • πŸ“¦ Order Management & Live Tracking
  • ⭐ Product Reviews & Ratings
  • ❀️ Wishlist
  • πŸ‘€ User Profile & Address Management
  • πŸ’° Wallet & Rewards System
  • πŸ“± Fully Responsive Design
  • β™Ώ Accessible (WCAG 2.1 AA)

πŸš€ Tech Stack

Frontend

  • Framework: Next.js 14+ (App Router)
  • Language: TypeScript (Strict Mode)
  • Styling: TailwindCSS v4 + CSS Modules
  • State Management: Zustand + TanStack Query
  • Forms: React Hook Form + Zod
  • UI Components: Headless UI + Heroicons
  • Animations: Framer Motion

Backend

  • API: Next.js API Routes
  • Database: PostgreSQL (via Supabase)
  • Auth: Supabase Auth
  • Storage: Supabase Storage
  • Realtime: Supabase Realtime

Third-party Services

  • Payments: Razorpay (primary) + Stripe (optional)
  • SMS: Twilio / MSG91
  • Email: Resend / SendGrid
  • Analytics: Google Analytics 4 + Mixpanel
  • Monitoring: Sentry
  • CDN: Cloudinary (optional)

Deployment

  • Hosting: Vercel
  • CI/CD: GitHub Actions

πŸ“ Project Structure

beautify-alouora/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ app/                    # Next.js 14 App Router
β”‚   β”‚   β”œβ”€β”€ (auth)/            # Auth layout group (BEAUTIFY brand)
β”‚   β”‚   β”‚   β”œβ”€β”€ signin/
β”‚   β”‚   β”‚   └── verify-otp/
β”‚   β”‚   β”œβ”€β”€ (shop)/            # Main shop layout (ALOUORA brand)
β”‚   β”‚   β”‚   β”œβ”€β”€ page.tsx       # Home page
β”‚   β”‚   β”‚   β”œβ”€β”€ products/
β”‚   β”‚   β”‚   β”œβ”€β”€ cart/
β”‚   β”‚   β”‚   └── checkout/
β”‚   β”‚   β”œβ”€β”€ (account)/         # User account pages
β”‚   β”‚   β”‚   β”œβ”€β”€ profile/
β”‚   β”‚   β”‚   β”œβ”€β”€ orders/
β”‚   β”‚   β”‚   β”œβ”€β”€ wishlist/
β”‚   β”‚   β”‚   └── wallet/
β”‚   β”‚   β”œβ”€β”€ api/               # API routes
β”‚   β”‚   β”‚   β”œβ”€β”€ auth/
β”‚   β”‚   β”‚   β”œβ”€β”€ products/
β”‚   β”‚   β”‚   β”œβ”€β”€ cart/
β”‚   β”‚   β”‚   └── orders/
β”‚   β”‚   β”œβ”€β”€ layout.tsx
β”‚   β”‚   └── globals.css
β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”œβ”€β”€ ui/                # Base UI components
β”‚   β”‚   β”œβ”€β”€ auth/              # Auth components
β”‚   β”‚   β”œβ”€β”€ product/           # Product components
β”‚   β”‚   β”œβ”€β”€ cart/              # Cart components
β”‚   β”‚   └── layout/            # Layout components
β”‚   β”œβ”€β”€ lib/
β”‚   β”‚   β”œβ”€β”€ supabase/          # Supabase clients
β”‚   β”‚   β”œβ”€β”€ auth/              # Auth helpers
β”‚   β”‚   β”œβ”€β”€ api/               # API clients
β”‚   β”‚   └── utils.ts           # Utility functions
β”‚   β”œβ”€β”€ hooks/                 # Custom React hooks
β”‚   β”œβ”€β”€ store/                 # Zustand stores
β”‚   β”œβ”€β”€ types/                 # TypeScript types
β”‚   β”œβ”€β”€ constants/             # Constants & config
β”‚   └── styles/                # Global styles
β”œβ”€β”€ public/
β”‚   β”œβ”€β”€ images/
β”‚   └── icons/
β”œβ”€β”€ .env.example               # Environment variables template
β”œβ”€β”€ .env.local                 # Local environment (git-ignored)
└── tsconfig.json              # TypeScript configuration

πŸ› οΈ Getting Started

Prerequisites

  • Node.js: v20.x or higher
  • npm/yarn/pnpm: Latest version
  • Git: Latest version
  • Supabase Account: Sign up here

Installation

  1. Clone the repository

    git clone <repository-url>
    cd beautify-alouora
  2. Install dependencies

    npm install
    # or
    yarn install
    # or
    pnpm install
  3. Set up environment variables

    cp .env.example .env.local

    Then edit .env.local and fill in your values:

    • Supabase credentials (get from Supabase dashboard)
    • Google OAuth credentials (configure in Supabase Auth)
    • SMS provider credentials (Twilio or MSG91)
    • Payment gateway keys (Razorpay or Stripe)
    • Other API keys as needed
  4. Set up Supabase

    a. Create a Supabase project at supabase.com

    b. Run database migrations:

    npx supabase init
    npx supabase link --project-ref <your-project-ref>
    npx supabase db push

    c. Enable authentication providers in Supabase Dashboard:

    • Google OAuth
    • Phone authentication
  5. Run the development server

    npm run dev
    # or
    yarn dev
    # or
    pnpm dev
  6. Open your browser Navigate to http://localhost:3000


🎨 Brand System

BEAUTIFY Brand

Used for: Authentication, Cart, Simple flows

Colors:

  • Primary: #E8A1B4 (Soft Pink)
  • Secondary: #B8A1D8 (Lavender Purple)
  • Accent: #F5E6EA (Light Pink)
  • Background: #FAF0F3

Usage in code:

<button className="bg-beautify-primary text-white hover:bg-beautify-primary-dark">
  Sign In
</button>

ALOUORA Brand

Used for: Main shopping experience, Product pages

Colors:

  • Primary: #FFC4D6 (Soft Pink)
  • Secondary: #6B4C9A (Deep Purple)
  • Accent: #D4A574 (Gold/Warm)
  • Background: #FFF9F5

Usage in code:

<button className="bg-alouora-primary text-white hover:bg-alouora-primary-dark">
  Add to Cart
</button>

πŸ“ Development Guidelines

Code Style

  • TypeScript: Strict mode enabled, no any types
  • Naming: camelCase for variables, PascalCase for components
  • Imports: Use absolute imports with @/ prefix
  • Comments: JSDoc for public APIs

πŸ“š Documentation


🚒 Deployment

Deploy to Vercel (Recommended)

  1. Push to GitHub

    git remote add origin <your-repo-url>
    git push -u origin main
  2. Connect to Vercel

    • Go to vercel.com
    • Import your GitHub repository
    • Configure environment variables
    • Deploy!

πŸ“„ License

This project is proprietary and confidential.


Made with ❀️ by the Beautify/Alouora Team

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors