lyconstitches

byusman mutolib

Build LYCON STITCHES — Premium E-Commerce Website Build a real, production-ready e-commerce website + admin dashboard for LYCON STITCHES, a premium Nigerian men's fashion brand specializing in Jalabiyah, Native Wear, Kaftan, Senator Wear, Agbada, and Ready-Made clothing. Brand & Design Create a luxury, modern, minimal, mobile-first fashion experience. Colors: - Black "#000000" - White "#FFFFFF" - Gold "#D4AF37" - Light Grey "#F5F5F5" Hero headline: CRAFTED FOR THE MODERN MAN Subtext: Premium Nigerian men's fashion, carefully designed and expertly stitched. Buttons: - Shop Collection - Order on WhatsApp Make the design unique and premium, not a generic template. Tech Stack Use: - Next.js + App Router - React - TypeScript - Tailwind CSS - Supabase PostgreSQL - Supabase Auth - Supabase Storage - Paystack - Vercel Use secure environment variables. Never expose secret keys. Customer Pages Create: - Home - Shop - Product Details - Categories - Cart - Checkout - Wishlist - Login/Register - Account - Order History - Order Confirmation - About - Contact Shop Products must support: - Product images - Name - Description - Price - Discount price - Category - Sizes - Colors - Stock - SKU - Featured/New status Add: - Search - Category filter - Price filter - Size filter - Sorting - Pagination Categories: Jalabiyah, Native Wear, Kaftan, Senator Wear, Agbada, Ready Made, Accessories. Product Page Show: - Image gallery - Product name - Price - Discount - Description - Sizes - Colors - Stock - Quantity selector - Add to Cart - Buy Now - Wishlist - Order on WhatsApp - Related products - Reviews Cart Customers can: - Add/remove products - Change quantity - See subtotal - See delivery fee - See total - Continue shopping - Checkout Persist cart after refresh. Checkout Collect: - Full name - Email - Phone - WhatsApp - State - City - Address - Delivery instructions Show complete order summary. Payment options: Pay Online Order via WhatsApp Paystack Payment Integrate real Paystack payments for Nigeria: - Card - Bank Transfer - USSD - Supported Paystack methods Payment flow: Cart → Checkout → Create pending order → Paystack → Server-side verification → Mark paid → Reduce stock → Order confirmation. Never trust payment status from the frontend. Use: "PAYSTACK_SECRET_KEY" "NEXT_PUBLIC_PAYSTACK_PUBLIC_KEY" Orders Store: - Order number - Customer - Products - Quantity - Price - Address - Delivery fee - Total - Payment reference - Payment status - Order status - Date Statuses: Payment: Pending, Paid, Failed, Refunded Order: Pending, Processing, Ready, Shipped, Delivered, Cancelled Generate order numbers such as: "#LYC-2026-0001" Admin Dashboard Create protected: "/admin" Admin overview: - Total sales - Today's sales - Total orders - Pending orders - Completed orders - Total products - Low-stock products - Sales/order charts Only authorized admins can access it. Product Management Create: "/admin/products" Admin must be able to: - Add product - Upload multiple images - Edit product - Delete product - Change price - Add discount - Manage stock - Add sizes/colors - Select category - Add SKU - Mark featured/new - Publish/unpublish Main workflow: Products → Add Product → Upload Photos → Name → Price → Description → Category → Sizes → Colors → Stock → Publish Once published, the product must immediately appear in the Shop. Use Supabase Storage for images. Order Management Create: "/admin/orders" Admin can: - View orders - Search/filter - View customer information - View products - View payment status - Change order status - Update delivery information - Cancel orders Customers Create: "/admin/customers" Show: - Name - Email - Phone - Orders - Total spent - Last order Authentication Use Supabase Auth. Customers: - Register - Login - Logout - Reset password - Account - Order history Use role-based access so customers cannot access "/admin". WhatsApp Add configurable Lycon Stitches WhatsApp number. "Order on WhatsApp" should automatically create a message containing: - Product - Size - Color - Quantity - Price Add WhatsApp support throughout the website. Database Use Supabase PostgreSQL with tables for: - users - products - product_images - categories - orders - order_items - reviews - wishlists - delivery_fees Implement relationships, indexes, validation and Row Level Security. Delivery Create configurable delivery fees by location, such as: - Ilorin - Lagos - Abuja - Other states Admin should be able to change delivery fees without modifying code. Security Implement: - Supabase RLS - Protected admin routes - Authentication - Authorization - Server-side Paystack verification - Input validation - Secure API routes - Environment variables Never expose secret credentials. SEO & Performance Implement: - SEO metadata - Open Graph - Product structured data - Sitemap - Robots.txt - Clean product URLs - Optimized images - Fast loading - Responsive design Support: Android, iPhone, Tablet, Laptop and Desktop. Required Components Create reusable: Navbar, Footer, ProductCard, ProductGrid, ProductGallery, SearchBar, Cart, CheckoutForm, OrderSummary, AdminSidebar, AdminHeader, ProductForm, OrderTable, DashboardStats, Toast, Modal, Loading and Empty states. Sample Products Seed: - Premium Black Jalabiyah — ₦45,000 - Royal Navy Jalabiyah — ₦50,000 - Cream Kaftan — ₦55,000 - Luxury Senator Wear — ₦65,000 - Premium Agbada — ₦120,000 Make products editable/deletable from the admin dashboard. IMPORTANT Do not build a static demo. Build a fully functional business application. Everything must actually work: Products → Images → Shop → Cart → Checkout → Paystack → Payment Verification → Order → Stock → Admin Dashboard Also make: Admin → Add Product → Publish → Product appears in Shop Use real Supabase database/storage and real Paystack integration. Prepare the project for Vercel deployment. Finally provide: 1. Complete source code 2. Database SQL 3. ".env.example" 4. Setup instructions 5. Paystack configuration 6. Supabase configuration 7. Admin setup 8. Vercel deployment instructions Build LYCON STITCHES as a premium, scalable Nigerian fashion e-commerce platform.

No preview

Comments (0)

No comments yet. Be the first!

System Requirements

System Requirement Document
Page 1 of 8

System Requirements Document for lyconstitches

1. Introduction

Lycon Stitches is a premium Nigerian men's fashion brand specializing in Jalabiyah, Native Wear, Kaftan, Senator Wear, Agbada, and Ready-Made clothing. This document outlines the system requirements for building a real, production-ready e-commerce website and admin dashboard for Lycon Stitches. The goal is to create a luxury, modern, minimal, mobile-first fashion experience that is scalable and secure.

2. System Overview

The Lycon Stitches platform will be a fully functional e-commerce website with an integrated admin dashboard. It will feature a luxury design inspired by the MARQ by Garmin aesthetic, emphasizing precision and elegance. The platform will support a comprehensive product catalog, secure transactions via Paystack, and robust admin capabilities for managing products, orders, and customers.

2a. Product Interpretation and Delivery Boundary

The platform will be delivered as a web application using Next.js, React, and TypeScript, with a backend powered by Supabase PostgreSQL. It will be deployed on Vercel, ensuring scalability and performance. The system will include secure authentication and authorization mechanisms, leveraging Supabase Auth and environment variables to protect sensitive information. The admin dashboard will be accessible only to authorized personnel, with role-based access control to prevent unauthorized access.

Page 2 of 8

2b. Source Content Inventory

Not applicable as no explicit content source directive was provided.

2c. Page Content and Component Coverage

Home

  • Hero Section: Full-bleed image with headline "CRAFTED FOR THE MODERN MAN" and subtext.
  • Buttons: Shop Collection, Order on WhatsApp.
  • Featured Products: Display of selected products with images and quick actions.

Shop

  • Product Grid: Display products with images, prices, and quick actions.
  • Filters: Search, category, price, size, sorting, and pagination.
  • Categories: Jalabiyah, Native Wear, Kaftan, Senator Wear, Agbada, Ready Made, Accessories.

Product Details

  • Image Gallery: High-resolution images with zoom.
  • Product Info: Name, price, discount, description, sizes, colors, stock, SKU.
  • Actions: Add to Cart, Buy Now, Wishlist, Order on WhatsApp.
  • Related Products: Suggestions based on category.
  • Reviews: Customer feedback and ratings.
Page 3 of 8

Cart

  • Cart Items: List of products with quantity selector.
  • Summary: Subtotal, delivery fee, total.
  • Actions: Continue shopping, proceed to checkout.
  • Persistence: Cart state maintained after refresh.

Checkout

  • Form: Collect customer details (name, email, phone, address, delivery instructions).
  • Order Summary: Display of selected items and total cost.
  • Payment Options: Pay Online, Order via WhatsApp, Paystack integration.

Wishlist

  • Product List: Saved items for future purchase.
  • Actions: Add to cart, remove from wishlist.

Login/Register

  • Forms: User registration and login with Supabase Auth.
  • Actions: Reset password, logout.

Account

  • User Info: Display and edit personal details.
  • Order History: List of past orders with status.

Order History

  • Order List: Display of previous orders with details and status.
Page 4 of 8

Order Confirmation

  • Summary: Confirmation of order details and payment status.

About

  • Content: Information about Lycon Stitches and its mission.

Contact

  • Form: Customer inquiries and support requests.

Admin Dashboard

  • Overview: Sales statistics, order status, product inventory.
  • Protected Access: Role-based access for authorized admins only.

Admin Products

  • Management: Add, edit, delete products; manage stock and categories.
  • Workflow: Product creation and publishing.

Admin Orders

  • Order Management: View, filter, and update order status.
  • Customer Info: Access customer details and order history.

Admin Customers

  • Customer List: View customer information and purchase history.
Page 5 of 8

3. Functional Requirements

  • As a customer, I should be able to browse products by category, apply filters, and sort results to find items of interest. (explicit)
  • As a customer, I should be able to view detailed product information, including images, descriptions, and available options. (explicit)
  • As a customer, I should be able to add products to my cart, adjust quantities, and proceed to checkout. (explicit)
  • As a customer, I should be able to complete a purchase using Paystack, with secure server-side verification of payment. (explicit)
  • As an admin, I should be able to manage products, including adding, editing, and deleting items, and updating stock levels. (explicit)
  • As an admin, I should be able to view and manage customer orders, including updating order status and handling cancellations. (explicit)
  • As a customer, I should be able to register, log in, and manage my account details securely. (explicit)
  • As a customer, I should be able to view my order history and track the status of my orders. (explicit)
  • As a customer, I should be able to save products to a wishlist for future reference. (explicit)
  • As an admin, I should be able to access sales and order statistics through a secure dashboard. (explicit)

4. User Personas

  • Customer: Individuals interested in purchasing premium Nigerian men's fashion. They browse products, manage their cart, complete purchases, and track orders.
  • Admin: Authorized personnel responsible for managing the product catalog, processing orders, and overseeing customer interactions.

5. Core User Flows

Customer Browsing and Shopping

  1. Browse Products: Customer visits the Shop page, applies filters, and sorts products.
  2. View Product Details: Customer selects a product to view detailed information.
  3. Add to Cart: Customer adds the product to the cart and adjusts quantities as needed.
  4. Proceed to Checkout: Customer reviews the cart and proceeds to checkout.
  5. Complete Purchase: Customer enters delivery information and selects a payment method.
  6. Order Confirmation: Customer receives confirmation of the order and payment status.
Page 6 of 8

Admin Product Management

  1. Access Dashboard: Admin logs into the secure admin dashboard.
  2. Manage Products: Admin adds new products, edits existing ones, and updates stock levels.
  3. Publish Products: Admin publishes products, making them available in the Shop.

Admin Order Management

  1. View Orders: Admin accesses the order management section to view all orders.
  2. Update Order Status: Admin updates the status of orders as they are processed.
  3. Handle Cancellations: Admin cancels orders as necessary and updates the system.

6. Visuals Colors and Theme

  • Muse: MARQ by Garmin
  • Palette:
    • Background: #000000
    • Surface: #F5F5F5
    • Text: #FFFFFF
    • Primary: #D4AF37
    • Accent: #D4AF37
    • Muted: #F5F5F5
  • Typography:
    • Headings: Barlow Condensed, bold, uppercase
    • Body: Karla
    • Scale: 1.5 modular, 64/48/32/24/16
  • Shape Language: Circular gauges and precise data rows
  • Layout: Edge-to-edge product photography with dark UI
  • Imagery: Macro product photography focusing on material detail
Page 7 of 8

7. Signature Design Concept

The homepage will feature a full-bleed hero image showcasing the intricate detail of a garment's fabric. The headline "CRAFTED FOR THE MODERN MAN" will be prominently displayed in bold, uppercase Barlow Condensed over a gold accent. Navigation will be refined with minimalistic icons and labels, and circular gauge elements will highlight product details on hover.

8. Interaction Model & Motion Direction

  • Interaction Model: Static
  • Motion Tempo: Restrained
  • Hero Dimensionality: Flat
  • Landing Hero Motion Brief: The hero section will feature a static full-bleed image with a bold headline. The focus will be on the luxurious detail of the fabric, with no motion to maintain a restrained and elegant presentation.

9. Non-Functional Requirements

  • Performance: The website must load quickly and be responsive across all devices.
  • Security: Implement Supabase RLS, secure API routes, and server-side payment verification.
  • Scalability: The platform must handle increased traffic and data as the business grows.
  • SEO: Implement SEO metadata, Open Graph, and structured data for products.

10. Tech Stack

  • Frontend: Next.js, React, TypeScript, Tailwind CSS
  • Backend: Supabase PostgreSQL, Supabase Auth, Supabase Storage
  • Payments: Paystack
  • Deployment: Vercel
Page 8 of 8

11. Assumptions and Constraints

  • The platform will be developed using the specified tech stack and deployed on Vercel.
  • All sensitive information will be protected using environment variables.
  • Admin access will be restricted to authorized personnel only.

12. Glossary

  • Jalabiyah: A traditional long garment worn by men.
  • Kaftan: A variant of the robe or tunic.
  • Senator Wear: A style of men's clothing popular in Nigeria.
  • Agbada: A flowing wide-sleeved robe worn by men in West Africa.
  • Supabase: An open-source Firebase alternative.
  • Paystack: A payment processing company in Nigeria.

No completed page designs yet.

Completed design pages will appear here when they are ready to preview.

Home: View homepage
Login/Register: Sign in as admin
Admin Dashboard: View sales overview
Admin Products: Add new product
Admin Products: Publish product
Admin Orders: View all orders
Admin Orders: Update order status
Admin Orders: Cancel order
Admin Customers: View customer list

No completed page designs yet.

Completed design pages will appear here when they are ready to preview.

Home: View homepage
Login/Register: Sign in as admin
Admin Dashboard: View sales overview
Admin Products: Add new product
Admin Products: Publish product
Admin Orders: View all orders
Admin Orders: Update order status
Admin Orders: Cancel order
Admin Customers: View customer list