Ecommerce Template
Modern ecommerce template built with Next.js 16, React 19, Drizzle, Better Auth, Supabase, and Stripe.
Download the free uMshado app — find trusted wedding photographers, venues, caterers, DJs, décor artists and more across Africa. Install on Android or iOS, free for couples.
Translation pending
CommerceTypeScript · HTMLGitHub @Zidlekhaya26OnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
uMshado wedding planning & marketplace app
Translation pending
Taken from the repository README
Loading the full README.
Read the full README ↗This is a Next.js project bootstrapped with create-next-app.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
To learn more about Next.js, take a look at the following resources:
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.
uMshado uses Row-Level Security (RLS) policies to ensure production-grade access control.
supabase/rls.sqlrowsecurity = trueAfter applying policies, test the following:
Couple Flow:
/couple/onboarding/debug/whoami - confirm your couple data appearsVendor Flow:
/vendor/services/vendor/packagesSecurity Check:
If you encounter permission errors, check the Supabase logs and verify the policies match your table schema.
Run these SQL files in your Supabase SQL Editor in this order:
migrations/001_profiles_couples_vendors.sql (creates base tables)supabase-services-schema.sql (creates services and vendor_services tables)supabase/rls.sql (enables security on all tables)supabase/rls-marketplace-update.sql (allows marketplace browsing - IMPORTANT!)supabase/marketplace.sql (creates marketplace_vendors view)supabase/quotes.sql (creates quotes, conversations, messages tables)supabase/storage.sql (creates umshado-files bucket + policies for file uploads)supabase/attachments.sql (creates message_attachments + quote_attachments tables)supabase/seed-data.sql (adds sample vendors, services, and packages for testing)Important: Step 4 (rls-marketplace-update.sql) is critical - it updates the RLS policies to allow authenticated users to browse all vendors, not just their own profile. Without this, the marketplace will show no vendors!
uMshado features a real-time marketplace with intelligent vendor ranking and filtering.
supabase/marketplace.sqlmarketplace_vendors viewSELECT * FROM marketplace_vendors LIMIT 5;To test the marketplace, you need sample vendors and packages:
supabase/seed-data.sqlSELECT * FROM marketplace_vendors; - should show 3 vendors with aggregated dataSee MARKETPLACE_TESTING.md for comprehensive testing checklist.
Quick Test:
npm run devTest Data Requirements:
uMshado features a complete quote request system that connects couples with vendors through chat.
supabase/quotes.sqlquotes table - stores quote requestsquote_line_items table - itemized quote detailsconversations table - chat threads between couples and vendorsmessages table - chat messagesgenerate_quote_ref() function - creates unique quote references (e.g., Q-20260206-A3K9M)SELECT tablename FROM pg_tables WHERE schemaname = 'public' AND tablename IN ('quotes', 'conversations', 'messages');End-to-End Flow:
Setup:
npm run devBrowse & Request Quote:
/quotes/summary?vendorId=...&packageId=...Customize Quote:
Verify Chat Opens:
/messages/thread/[conversationId]Vendor View:
/vendor/dashboardVerify Database:
-- Check quotes were created
SELECT quote_ref, status, package_name, base_from_price FROM quotes;
-- Check conversations exist
SELECT * FROM conversations;
-- Check messages contain quote refs
SELECT message_text, quote_ref FROM messages WHERE quote_ref IS NOT NULL;
Expected Behavior:
Troubleshooting:
generate_quote_ref() fails, ensure function was created in SQLuMshado supports secure file uploads in chat conversations using Supabase Storage.
Create Storage Bucket (Option A - Dashboard):
umshado-files10485760 (10 MB)Or use SQL (Option B):
supabase/storage.sqlCreate Attachment Tables:
supabase/attachments.sql in SQL Editormessage_attachments and quote_attachments tables with RLSSee FILE_UPLOADS_IMPLEMENTATION.md for detailed testing guide.
Quick Test:
Database Check:
-- Check attachments were created
SELECT * FROM message_attachments ORDER BY created_at DESC LIMIT 5;
-- Check storage bucket exists
SELECT * FROM storage.buckets WHERE id = 'umshado-files';
-- Check storage policies
SELECT * FROM pg_policies WHERE tablename = 'objects' AND schemaname = 'storage';