Ecommerce Template
Next.js·React 등으로 만든 최신 전자상거래 템플릿
무료 uMshado 앱으로 아프리카 전역에서 신뢰할 수 있는 웨딩 사진작가·장소·케이터링·DJ·디자인 등을 찾을 수 있습니다
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.
커머스TypeScript · HTMLGitHub @Zidlekhaya26온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기uMshado wedding planning & marketplace app
저장소 README에서 가져옴
README 전체를 불러오는 중입니다.
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';