Build a premium local-store shopping experience, fast.
LokaCart is a local brand e-commerce website for selling products with a clean, premium claymorphism interface. It is designed for a small-to-medium local brand that needs a fast, secure, and maintainable storefront built with PHP native, MySQL, vanilla JavaScript, and CSS3 without frameworks. The product prioritizes security-first checkout, lightweight performance, SEO readiness, and a polished shopping experience on mobile and desktop.
Shopper Dita, 27 - A mobile-first buyer who discovers local brands through social media and search. She wants a fast, visually appealing site that makes it easy to browse and checkout without technical friction.
Owner Raka, 38 - A local brand owner who needs a reliable storefront that is easy to maintain without a large technical team. He cares about security, page speed, and search visibility.
Admin Sari, 31 - An operations staff member who handles orders and customer service. She needs accurate order records, status tracking, and easy filtering.
Dita discovers the brand through a search result and lands on a category page that loads almost instantly. The soft claymorphism design feels premium, the product images appear smoothly, and she can scan price, stock, and details without waiting for heavy scripts to finish.
She adds a product to the cart, reviews the order, and checks out in a few taps. The flow is simple and secure, with clear confirmation and no confusing redirects, which makes her trust the store enough to complete the purchase.
For Raka, every order is captured cleanly in MySQL with secure prepared statements, and the admin panel makes fulfillment straightforward. The result is more organic traffic, fewer abandoned checkouts, and a storefront that feels like a real brand instead of a basic catalog.
Team & resourcing - Small team - 2 full-stack engineers, 1 UI designer, part-time PM, and optional QA support.
Paste this into Cursor, Bolt, Lovable, or v0 to start building.
Build a framework-free e-commerce website for a local brand called LokaCart using PHP native 8.2+, MySQL 8 with PDO, vanilla JavaScript, and CSS3. Core requirements: Create a clean folder structure separating controllers, models, helpers, views, partials, assets, uploads, config, and database schema. Implement a storefront with homepage, category page, product detail page, cart, checkout, order confirmation, and basic admin panel. Use server-side rendering, prepared statements, CSRF protection, password_hash, output escaping, secure sessions, and role-based admin access. Design a premium claymorphism UI with a bright pastel palette, soft shadows, rounded cards, pill buttons, and responsive mobile-first layouts. Add SEO support: unique meta title/description, Open Graph tags, canonical URLs, schema.org Product markup, semantic HTML5, and XML sitemap. Optimize performance with responsive images, lazy loading, deferred non-critical JS, and minimal dependencies. Implement smooth premium scrolling and organic entrance animations with GSAP ScrollTrigger only if needed, loaded via CDN, but keep motion lightweight and non-laggy. Data model: users, categories, products, orders, order_items with foreign keys and InnoDB. Products must include slug, title, description, price, stock, category_id, image paths, status, created_at, updated_at. Orders must include order number, user or guest fields, totals, status, shipping address, and timestamps. Deliverables: Generate the database schema, PDO connection layer, reusable header/footer components, storefront pages, admin CRUD, and checkout flow. Make the code production-minded, secure by default, and easy to extend without any PHP framework.
Bertindaklah sebagai Senior Full-Stack Architect. Saya ingin membangun website E-commerce Brand Lokal menggunakan PHP native, MySQL (PDO), JavaScript vanilla, dan CSS3 (Claymorphism). Tidak menggunakan framework apapun (No Laravel/CI). Tugas Lo: Struktur Folder: Buat pohon direktori yang bersih dan efisien untuk proyek ini (pisahkan logic, assets, views, dan database). Visual Claymorphism: Berikan boilerplate CSS untuk tema 'Claymorphism' (Clean & Terang) yang mencakup shadow generator, border-radius, dan color palette (pastel-based). SEO & Performance: Berikan panduan implementasi SEO (meta tag, schema.org markup, semantic HTML) dan strategi lazy-loading untuk gambar produk. GSAP Animation: Berikan contoh snippet kode JS untuk implementasi 'Smooth Scrolling' menggunakan GSAP ScrollTrigger dan transisi masuk yang organik. Database Logic: Buat skema MySQL yang aman (gunakan InnoDB) untuk tabel users, products, categories, dan orders. Sertakan contoh koneksi database menggunakan PDO dengan Prepared Statements untuk mencegah SQL Injection. Implementation Roadmap: Berikan langkah-langkah prioritas pengerjaan dari setup database hingga halaman checkout. Aturan: Fokus pada keamanan (Security First), efisiensi kode, dan kecepatan loading. Berikan penjelasan teknis yang padat dan langsung ke kode (Raw Code). Animasi harus terasa premium (smooth), tidak boleh laggy. Jika ada library pihak ketiga seperti FontAwesome atau GSAP, beri tahu cara integrasi CDN yang paling ringan.
Design by The Resonance | Powered by GPC – The AI Transformation Company