Ecommerce Template
Next.js·React 등으로 만든 최신 전자상거래 템플릿
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기메이커가 쓴 소개는 위의 한 줄이 전부입니다. 더 자세한 내용은 저장소 README에서 읽을 수 있습니다. 저장소 README ↗
README 전체를 불러오는 중입니다.
README 전문 보기 ↗Backend for the ORICAN tee customizer. Printify's API rejects browser requests, so every Printify call goes through these Vercel functions and the token stays in Vercel.
| Endpoint | Who calls it | What it does |
|---|---|---|
GET / or /admin | you (browser) | Operations Command Center: Bold black-and-white admin dashboard for live pipeline monitoring, order simulations, blanks & mockup explorer, and theme patching. |
GET /api/catalog | you (x-admin-key) | Read-only: Printify shops + EU providers for candidate blanks. |
POST /api/setup | you (x-admin-key) | Creates/reuses one unpublished draft per blank in Printify shop 7881083; returns variant mapping, costs, mockups. GET = report only. |
POST /api/upload | storefront | Issues a Vercel Blob client-upload token for the design PNG (PNG only, max 40 MB, designs/). |
POST /api/shopify-order | Shopify webhook | On "Order payment", sends ORICAN line items (SKU PFY-… + _design_url property) to Printify. Orders wait for your approval in Printify unless AUTO_PRODUCTION=true. |
GET/POST /api/models | storefront (GET) / you (POST) | 3D model catalogue in Blob under models/<slug>/. GET lists it publicly; POST issues admin upload tokens or deletes a model. Managed from the dashboard's 3D Models tab. |
GET /api/status | you (x-admin-key) | Real-time environment checklist and recent webhook fulfillment runs. |
POST /api/test-order | you (x-admin-key) | Simulates full order pipeline with placeholder design in Paris. |
POST /api/theme-build | you (x-admin-key) | Validates and compiles patched Shopify Liquid layout into Vercel Blob. |
| Name | Value |
|---|---|
PRINTIFY_TOKEN | Printify personal access token |
ADMIN_KEY | Your own random string (admin endpoints) |
BLOB_READ_WRITE_TOKEN | Added automatically when you connect a Blob store (Storage tab → Create → Blob → connect to this project) |
ALLOWED_ORIGINS | https://orican-41i0abev.myshopify.com (+ your custom domain later, comma-separated) |
SHOPIFY_WEBHOOK_SECRET | Signing secret from Shopify admin → Settings → Notifications → Webhooks |
AUTO_PRODUCTION | Optional. true to send orders straight to production |
npm install
vercel env add ALLOWED_ORIGINS production
vercel deploy --prod
# run setup (creates the Printify drafts) and save the report
$h = @{ "x-admin-key" = "<ADMIN_KEY>" }
Invoke-RestMethod -Method Post -Uri "https://orican-printify.vercel.app/api/setup" -Headers $h -TimeoutSec 180 |
ConvertTo-Json -Depth 10 | Out-File setup.json -Encoding utf8
Shopify admin → Settings → Notifications → Webhooks → Create webhook:
event Order payment, format JSON, URL https://orican-printify.vercel.app/api/shopify-order.
Copy the signing secret shown on that page into SHOPIFY_WEBHOOK_SECRET, then redeploy.