Documentation Index
Fetch the complete documentation index at: https://mintlify.com/aluxey/E-Commerce/llms.txt
Use this file to discover all available pages before exploring further.
Quickstart Guide
This quickstart guide will get you from zero to a working e-commerce platform in about 15 minutes. We’ll set up a minimal configuration so you can explore the platform and start selling handmade products.What You’ll Accomplish
By the end of this guide, you’ll have:- A working Supabase database with sample products
- The frontend running locally
- The API server processing payments
- An admin account to manage your store
For a more detailed setup, see the full installation guide.
Prerequisites
Before starting, make sure you have:- Node.js 18+ installed (download)
- A Supabase account (sign up)
- A Stripe account for backend webhooks (sign up)
Quick Setup
Set Up Supabase
Create a new Supabase project and run the database setup:
- Go to supabase.com and create a new project
- Wait for provisioning (~2 minutes)
- Navigate to the SQL Editor
- Copy and run each script in order:
Database/BDD_struct.sql- Creates tablesDatabase/RLS.sql- Sets up securityDatabase/SEED.sql- Loads sample data
The seed data includes 6 sample products so you can test the platform immediately.
- Go to Storage → Create bucket
product-images(public) - Copy your credentials from Project Settings → API:
- Project URL
- Anon public key
- Service role key
Configure the API
Create
api/.env with your credentials:Get your Stripe test key
Get your Stripe test key
- Log in to dashboard.stripe.com
- Enable Test mode (toggle in top right)
- Go to Developers → API keys
- Copy the Secret key (starts with
sk_test_)
Configure the Client
Create
client/.env with your credentials:Payment processing is handled through SumUp redirect. No additional payment provider credentials needed for the frontend.
Explore the Platform
As a Customer
Browse Products
Open http://localhost:5173 and you’ll see the home page with featured products from the seed data.Try:
- Searching for products
- Filtering by category or color
- Adjusting the price range slider
Add to Cart
Click on any product to view details. Select a size and color, then click Add to Cart.The cart persists in local storage, so you can close your browser and items will still be there.
Create an Account
Click Sign Up to create an account. You’ll need this to checkout.Use any email and a password (min 6 characters). Supabase will send a confirmation email in development mode.
Test Checkout
Go to your cart and click Proceed to Checkout.The system will:
- Create an order in the database
- Redirect you to SumUp’s payment page in a new tab
- Clear your cart after order creation
Payment is processed through SumUp. In production, configure your SumUp merchant account. For development, the order is created but you’ll need a test SumUp link.
As an Admin
Promote Yourself to Admin
- Go to your Supabase dashboard → Table Editor → users
- Find your user account
- Change the
rolecolumn fromclienttoadmin - Save
Access the Admin Dashboard
Go to http://localhost:5173/adminYou’ll see:
- KPI widgets: Revenue, orders, average order value
- Quick actions: Manage products, orders, customers
Create a Product
- Click Products → Create New
- Fill in the product wizard:
- Info: Name, description, category, price
- Variants: Add size options with stock and pricing
- Images: Upload product photos
- Review: Verify and publish
- Click Create Product
What’s Next?
Now that you have the platform running, here’s what to explore:User Guide
Learn all customer-facing features
Admin Guide
Master the admin dashboard
Configure Services
Set up Stripe webhooks, email notifications
Deploy to Production
Launch your store to the world
Key Features to Try
Internationalization
Internationalization
Click the language switcher in the top navigation to toggle between German and French. All UI text updates instantly.See Internationalization to add more languages.
Product Variants
Product Variants
Products support multiple variants (sizes) with independent pricing and stock levels. Each variant can have different colors.Learn more in Product Variants.
Customer Photo Wall
Customer Photo Wall
As an admin, go to Customer Photos to create a gallery of customer-submitted photos showcasing your products.See Customer Photos.
Order Tracking
Order Tracking
Customers can view their order history and status at
/orders. Status updates are visible in real-time.Details in Order Tracking.Common Questions
How do I add more products?
How do I add more products?
Use the admin dashboard at
/admin → Products → Create New. Follow the 4-step wizard to add products with variants and images.How do I test payments without real money?
How do I test payments without real money?
The platform uses SumUp for payment processing. Orders are created in the database, but payment is handled externally through SumUp. You’ll need to configure your SumUp merchant account and payment link for actual payments. The backend uses Stripe webhooks for order status updates.
How do I customize the design?
How do I customize the design?
The frontend uses custom CSS with CSS variables. Edit files in
client/src/styles/ to customize colors, fonts, and spacing. See variables.css for theme tokens.Can customers checkout as guests?
Can customers checkout as guests?
No, authentication is required for checkout to track orders and send confirmation emails. Customers must create an account or sign in.
Need Help?
If you run into issues:- Check the console - Browser DevTools (F12) shows API errors and warnings
- Verify environment variables - Ensure all
.envvalues are correct - Check server logs - Both terminal windows show request logs and errors
- Review the installation guide - Full installation guide has troubleshooting tips
Installation Guide
Detailed setup with troubleshooting
API Reference
Backend API documentation