Ecommerce Template
Next.js·React 등으로 만든 최신 전자상거래 템플릿
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
StoreFlow is a mobile-first Progressive Web App (PWA) for small business owners — inventory, sales, expenses, restocking, staff, and a customer-facing order storefront, all in one app. It's built to work offline-first on a phone, with cloud sync and backup via Supabase for stores that want multi-device access.README 전문 보기 ↗StoreFlow is a mobile-first Progressive Web App (PWA) for small business owners — inventory, sales, expenses, restocking, staff, and a customer-facing order storefront, all in one app. It's built to work offline-first on a phone, with cloud sync and backup via Supabase for stores that want multi-device access.
localStorage, synced to Supabase (Postgres) for cloud backup and multi-device accessvite-plugin-pwa with a custom service worker (src/sw.ts, injectManifest strategy) for offline support and Web Pushsrc/
components/ UI components (one per feature area: Inventory, Sales,
Orders, Expenses, ROITracker, SmartRestockEngine, etc.)
components/qr/ QR code generation and barcode/QR scanning
components/dashboards/ Role-specific dashboards (Owner, Manager, Cashier, Inventory)
lib/ Core business logic — store-data.ts (the main data layer:
CRUD for products, sales, expenses, restocks, loans, etc.),
manager-intel.ts (insights/notifications/AI-ish analysis),
reports.ts (share summary + full raw exports),
print-engine.ts (receipt printing — system + Bluetooth),
push-notifications.ts (Web Push subscribe/unsubscribe)
pages/ Top-level routed pages (Index.tsx is the main app shell)
sw.ts Custom service worker (push notifications, offline caching)
types/store.ts Central type definitions for all store data
supabase/
functions/ Edge Functions (e.g. send-order-push, scan-receipt)
migrations/ Database schema migrations
Requires Node.js and npm.
git clone <this-repo-url>
cd storeflow-innie
npm install
npm run dev
Other useful commands:
npm run build # production build
npm run preview # preview a production build locally
npm test # run tests once
npm run test:watch # run tests in watch mode
npm run lint # lint the codebase
This app expects a connected Supabase project (see src/integrations/supabase/client.ts for the client config). For push notifications to actually send, the send-order-push Edge Function needs VAPID_PUBLIC_KEY, VAPID_PRIVATE_KEY, and VAPID_SUBJECT set as Supabase secrets — see the comments in src/lib/push-notifications.ts for details.
src/lib/store-data.ts and src/lib/manager-intel.ts — most features read/write a single StoreData object (see src/types/store.ts) that gets persisted locally and synced to Supabase.src/sw.ts) is hand-written (not auto-generated) because it needs custom push and notificationclick handlers — don't switch the PWA build strategy back to generateSW without accounting for this.npx tsc --noEmit -p tsconfig.app.json to see the current count.