Skip to main content

Project Architecture

Understanding the technical structure of the portfolio website.

Tech Stack

Project Structure

Data Flow

Key Components

Appwrite Client (src/lib/appwrite.js)

Central configuration for Appwrite SDK:

Database Service Pattern

Each feature has a dedicated service file:

Context Providers

Global state management using React Context:

Routing Structure

State Management

Performance Optimizations

Code Splitting

Image Optimization

  • Lazy loading for images below the fold
  • WebP format support
  • Responsive image sizes

Font Loading

Security Considerations

Build Configuration

Vite Config (vite.config.js)

Tailwind Config (tailwind.config.js)