ishanparihar-svelte Svelte Themes

Ishanparihar Svelte

Ishan Parihar - Svelte Portfolio & Platform

šŸš€ Project Structure

This repository contains the complete development environment for Ishan Parihar's web presence, with the main focus on the modern SvelteKit application.

šŸ“ Main Project: SvelteKit Application (./)

Status: 🟢 ACTIVE DEVELOPMENT
Technology: SvelteKit 5, TypeScript, TailwindCSS
Purpose: Production-ready portfolio and business platform

This is the primary project - a modern SvelteKit application featuring:

  • šŸŽØ Modern UI with Svelte 5 runes and reactivity
  • šŸ” Complete authentication system with Lucia
  • šŸ“Š Analytics and dashboard functionality
  • šŸ›’ E-commerce capabilities with Razorpay integration
  • šŸ“ Blog and content management
  • šŸŽ­ Playwright testing suite

šŸ“ Reference Project: Next.js Platform (apps/platform/)

Status: 🟔 REFERENCE ONLY
Technology: Next.js 14, React, TypeScript
Purpose: Reference implementation for migration guidance

The original Next.js application now serves as:

  • āœ… Reference for component architecture
  • āœ… API endpoint patterns
  • āœ… Database schema guidance
  • āœ… Business logic reference
  • āŒ No longer under active development

šŸŽÆ Migration Status: COMPLETED

The SvelteKit application has been successfully migrated to the root directory!

āœ… Completed Tasks:

  • Directory Restructuring: SvelteKit project moved from ishanparihar-svelte-migrated/ to root (./)
  • Package Scripts Updated: Root package.json now points to main SvelteKit project
  • Documentation Updated: Clear distinction between main project and reference
  • Missing Components Created: All required UI icons and components added
  • Import Paths Fixed: Resolved missing import errors

šŸ”§ Current Status:

  • Main Project: Fully functional SvelteKit application in root directory
  • Reference Project: Preserved in apps/platform/ for reference
  • Build System: Ready for development with bun run dev
  • TypeScript: Some type errors remain (58 errors) but don't prevent development

🚨 Remaining Issues:

  • TypeScript type errors in permission system and support modules
  • Some UI component props need alignment
  • Permission service API needs method completion

These are non-blocking for development and can be addressed incrementally.

šŸ› ļø Quick Start

Main SvelteKit Project

# Install dependencies
bun install

# Start development server
bun run dev

# Build for production
bun run build

# Run tests
bun run test

# Type checking
bun run check

Reference Next.js Project

# Navigate to reference project
cd apps/platform

# Install dependencies
bun install

# Start development (for reference only)
bun run dev

šŸ“‹ Available Scripts (Main Project)

Development

  • bun run dev - Start development server
  • bun run build - Build for production
  • bun run preview - Preview production build

Code Quality

  • bun run check - Run SvelteKit type checking
  • bun run check:watch - Type checking in watch mode

Testing

  • bun run test - Run unit tests
  • bun run test:watch - Unit tests in watch mode
  • bun run test:e2e - Run Playwright E2E tests
  • bun run test:e2e:ui - E2E tests with UI
  • bun run test:all - Run all tests

šŸ—ļø Project Architecture

./                          # Main SvelteKit project
ā”œā”€ā”€ src/
│   ā”œā”€ā”€ lib/               # Core libraries and utilities
│   │   ā”œā”€ā”€ server/        # Server-side code
│   │   ā”œā”€ā”€ stores/        # Svelte stores
│   │   ā”œā”€ā”€ types/         # TypeScript definitions
│   │   └── utils/         # Utility functions
│   ā”œā”€ā”€ routes/            # SvelteKit routes
│   ā”œā”€ā”€ test/              # Test setup
│   └── app.html           # Main HTML template
ā”œā”€ā”€ static/                # Static assets
ā”œā”€ā”€ tests/                 # Playwright tests
└── *.config.*            # Configuration files

apps/platform/             # Reference Next.js project
ā”œā”€ā”€ src/
│   ā”œā”€ā”€ app/              # Next.js app router
│   ā”œā”€ā”€ components/       # React components
│   ā”œā”€ā”€ lib/              # Utilities and libraries
│   └── server/           # Server-side code
└── package.json          # Next.js dependencies

šŸ”§ Technology Stack

Main SvelteKit Project

  • Framework: SvelteKit 5 with runes
  • Language: TypeScript
  • Styling: TailwindCSS
  • Database: PostgreSQL via Supabase
  • Auth: Lucia Auth
  • Payments: Razorpay
  • Testing: Vitest + Playwright
  • Build: Vite

Reference Next.js Project

  • Framework: Next.js 14 App Router
  • Language: TypeScript
  • Styling: TailwindCSS
  • Database: PostgreSQL via Supabase
  • Auth: Custom implementation
  • Payments: Razorpay
  • State: React Query

šŸ“ Migration Status

The migration from Next.js to SvelteKit is complete. The reference project is retained for:

  • Component design patterns
  • API implementation reference
  • Database relationship guidance
  • Business logic validation

šŸ¤ Contributing

When working on this codebase:

  1. All new development should focus on the main SvelteKit application
  2. Use the Next.js project only as reference for understanding existing patterns
  3. Follow the established TypeScript and testing patterns
  4. Maintain consistency with the SvelteKit architecture

Note: The main entry point for all development activities is the root directory (SvelteKit project). The apps/platform directory is archived for reference purposes only.

Top categories

Loading Svelte Themes