A premium, production-ready online store for authentic Iranian handicrafts
Gavin is a complete, elegant, and production-ready e-commerce platform built specifically for selling handmade Iranian crafts.
It focuses on beautiful design, smooth user experience, real security, and clean architecture — ready for real-world deployment.
- Stunning public storefront with gallery & storytelling pages
- Full order system with province/city-based shipping calculation
- Real-time chat between customer and store owner
- Powerful Seller Panel + Developer Panel
- Notifications, audit logs, and payment gateway management
- Beautiful homepage with featured products
- Full shop with clean product pages
- Real prices, stock management & add-to-cart
- Smart cart & checkout flow
- Direct chat with the store owner
- Personal account (orders, notifications, profile)
- Complete order management dashboard
- Smart shipping system (province + city + approved rates)
- Product & dynamic category management
- Financial overview & payout requests
- Internal notification system
- Full developer control panel
- Audit logs for every important action
- Payment gateway management
- Seller & order monitoring
- Role-based access control
| Layer | Technology |
|---|---|
| Backend | PHP 8.1+ (Native) |
| Database | MySQL 8 / MariaDB |
| Frontend | HTML5 · CSS3 · Vanilla JavaScript |
| Security | CSRF · Password Hashing · Prepared Statements |
| Architecture | Clean Structure · Role-based Access · Atomic Transactions |
Gavin-shop/
├── assets/ # CSS, JS, gallery images
├── config/ # Database, auth, helpers
├── account/ # Customer account panel
├── panel/
│ ├── seller/ # Seller panel
│ └── developer/ # Developer panel
├── api/ # Order API endpoints
├── database/ # Schema, seed & migrations
├── uploads/products/ # Product images (must be writable)
├── index.php
├── shop.php
├── product.php
├── checkout.php
├── chat.php
└── ...
git clone https://github.com/sinajr2011-prog/Gavin-shop.git
cd Gavin-shopCREATE DATABASE gavin CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;Then run these files in order:
database/schema.sqldatabase/production-final.sql(if upgrading)database/seed.php(run once)
Edit config/config.php:
const DB_HOST = 'localhost';
const DB_NAME = 'gavin';
const DB_USER = 'your_user';
const DB_PASS = 'your_password';
const BASE_URL = 'https://yourdomain.com'; // optionalchmod -R 755 uploads/productsphp database/seed.php
⚠️ Change the default passwords immediately after seeding!
- Color palette inspired by nature and traditional crafts
- Clean, modern, fully RTL-ready interface
- Soft shadows, elegant typography, and smooth interactions
- Mobile-first & fully responsive
Sina Jafari
Main Developer & UI/UX Designer
- GitHub: sinajr2011-prog
- Telegram: @SiJrOfficial
This project is private and owned by the Gavin team.
Any commercial use or redistribution without permission is strictly prohibited.