svelteshop
SvelteShop: Fast e-commerce storefront using SvelteKit and server-side rendering
✨ Features
- JWT authentication with access + refresh tokens
- Role-based access control (admin/user)
- Full CRUD with pagination, search, and filtering
- Premium responsive UI with dark/light mode
- Real-time validation and error handling
- Docker Compose for one-command startup
- Comprehensive README with API documentation
- Database migrations with Alembic/Flyway
🧰 Tech Stack
SvelteKit, TypeScript, PostgreSQL, Prisma, Drizzle ORM
🏗️ Architecture
Three-tier architecture: SvelteKit, TypeScript backend, React/TypeScript frontend, PostgreSQL database. Containerized with Docker.
🚀 Quick Start
Prerequisites
- Docker & Docker Compose
- SQLite / PostgreSQL
Setup
# Clone the repository
git clone https://github.com/elitsuri/svelteshop
cd svelteshop
# Copy environment variables
cp .env.example .env
Run
docker compose up --build