Saleor Store
우리 컬렉션을 쇼핑하세요
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
A Netflix-inspired digital publishing platform built with Next.js 14.
Release authority: docs/NEXT_GO.md governs launch status, the hard gates (G1–G13), and the Go/No-Go decision.
Current status: NO-GO / NOT RELEASE-READY until all 13 gates are evidenced TRUE. This README is a subordinate snapshot (CCR-001).
Full project documentation: docs/MANGU_PUBLISHERS_END_TO_END.md — business, architecture, env, deploy, migrations, Phase 2, and operator roadmap in one place.
GitHub Copilot CLI: docs/COPILOT_CLI.md — install, auth, and custom agents (AGENTS.md, .github/agents/).README 전문 보기 ↗A Netflix-inspired digital publishing platform built with Next.js 14.
Release authority: docs/NEXT_GO.md governs launch status, the hard gates (G1–G13), and the Go/No-Go decision. Current status: NO-GO / NOT RELEASE-READY until all 13 gates are evidenced TRUE. This README is a subordinate snapshot (CCR-001).
Full project documentation: docs/MANGU_PUBLISHERS_END_TO_END.md — business, architecture, env, deploy, migrations, Phase 2, and operator roadmap in one place.
GitHub Copilot CLI: docs/COPILOT_CLI.md — install, auth, and custom agents (AGENTS.md, .github/agents/).
Vercel is the canonical production platform (ADR-001, Option B — ACCEPTED).
Cloud Run (cloudbuild.yaml) and AWS Amplify configs are retained for compatibility and emergency use only — they are not GO evidence targets.
npm install
cp .env.local.example .env.local
NEXT_PUBLIC_SUPABASE_URL - Your Supabase project URLNEXT_PUBLIC_SUPABASE_ANON_KEY - Your Supabase anon keySUPABASE_SERVICE_ROLE_KEY - Your Supabase service role keySTRIPE_SECRET_KEY - Your Stripe secret keyNEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY - Your Stripe publishable keySTRIPE_WEBHOOK_SECRET - Your Stripe webhook secretOPENAI_API_KEY - Your OpenAI API keynpm run dev
The platform uses Supabase with PostgreSQL. You'll need to:
Migrations are located in supabase/migrations/ and must be applied in this exact order:
20260116000000_initial_schema.sql - Creates profiles table and core schema (required for health check)20260117000000_analytics_events.sql - Analytics event tracking20260117000001_analytics_sessions.sql - Session tracking20260117000002_book_stats_materialized.sql - Materialized views for performance20260117000003_revenue_tracking.sql - Revenue and payment tracking20260117000004_author_payouts.sql - Author payout system20260117000005_book_pricing.sql - Pricing logic and discounts20260117000006_storage_policies.sql - Storage bucket policies20260118000000_critical_fixes.sql - Bug fixes and corrections20260120000006_performance_optimizations.sql - Performance indexes20260121000000_profile_trigger.sql - Profile trigger consistency fixes20260122000000_social_features.sql - Social features schema20260619124500_add_content_type_to_books.sql - Adds content_type to books (idempotent)20260619162409_add_content_type.sql - content_type follow-up (idempotent, safe re-run)20260619170000_add_retailer_urls.sql - Retailer URL fieldsTo apply migrations:
Option 1: Using Supabase Dashboard (Recommended for first-time setup)
Option 2: Using Supabase CLI
# Install Supabase CLI if you haven't already
npm install -g supabase
# Link your project
supabase link --project-ref your-project-ref
# Apply all migrations
supabase db push
Verification: After running migrations, verify the setup by checking:
/api/health endpoint should return "status": "healthy" with database check passingprofiles table should exist (required for authentication)/app
/(auth) - Authentication pages
/(consumer) - Public-facing pages
/(portals) - Author and partner portals
/api - API routes
/components - React components
/lib - Utilities and business logic
/types - TypeScript type definitions
npm run dev - Start development servernpm run build - Build for productionnpm run start - Start production servernpm run lint - Run ESLintnpm run type-check - Run TypeScript type checkingRun the same quality checks as CI (quality-checks + unit-tests + build-test):
./scripts/ci-local.sh
Production deploys use Vercel (Git integration or CLI) from main:
vercel deploy --prod
Validate /api/health?ready=1 and critical smoke routes on the canonical origin after deploy.
Google Cloud Build + Cloud Run (cloudbuild.yaml) is retained for compatibility and emergency use only; it is not a GO evidence target:
cloudbuild.yaml from main/api/health and critical smoke routes on the custom domaindocker build -t mangu-publishers .
docker run -p 3000:3000 mangu-publishers
MIT