Ecommerce Template
Next.js·React 등으로 만든 최신 전자상거래 템플릿
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
A point-of-sale console for Zap Thoung Café: admin login, a live dashboard, menu management, and an order/POS screen — built with Next.js (App Router), Prisma, and SQLite. • Next.js 16 (App Router, Server Actions, Turbopack) • Prisma 6 + SQLite (file-based DB, zero config — swap the datasource for Postgres/MySQL later without touching app code) • Custom cookie-based auth (bcryptjs + jose JWT), no third-party auth service • Tailwind CSS v4, hand-rolled UI primitives (no component library dependency) • recharts for the dashboard revenue chartREADME 전문 보기 ↗
A point-of-sale console for Zap Thoung Café: admin login, a live dashboard, menu management, and an order/POS screen — built with Next.js (App Router), Prisma, and SQLite.
bcryptjs + jose JWT), no third-party auth servicerecharts for the dashboard revenue chartnpm install
npx prisma migrate dev # creates prisma/dev.db and applies the schema
npm run db:seed # seeds the full Zap Thoung menu + an admin user
npm run dev
Open http://localhost:3000 — you'll be redirected to /login.
Seeded from .env (SEED_ADMIN_EMAIL / SEED_ADMIN_PASSWORD):
[email protected]ZapThoung@2026Change SEED_ADMIN_PASSWORD in .env and re-run npm run db:seed to update it, or
just change your password by editing the user in Prisma Studio (npm run db:studio).
Change AUTH_SECRET in .env before deploying anywhere real — it signs the
session cookie.
src/app/(app)/dashboard — stats, revenue trend, top sellers, recent orderssrc/app/(app)/pos — the order-taking screen (menu grid + cart)src/app/(app)/orders — order list + per-order detail/receipt with status flowsrc/app/(app)/menu — category & menu item CRUD with price variantssrc/lib/actions — Server Actions (auth, menu, orders) — all writes go through
these, never through client-side fetches to hand-rolled API routesprisma/schema.prisma — data modelprisma/seed.ts — seeds categories, items, price variants, and the admin user
from the photographed menuMenu items can have multiple price variants (e.g. Small/Medium/Large, Single/Family,
6 pcs/12 pcs, or a single "Regular" price) — see MenuItemVariant in the schema.
Orders snapshot the item name, variant label, and unit price at the time of sale, so
renaming or repricing a menu item later doesn't change historical order totals.
| Command | What it does |
|---|---|
npm run dev | Start the dev server |
npm run build / npm run start | Production build / start |
npm run db:migrate | Run Prisma migrations |
npm run db:seed | Seed the menu + admin user |
npm run db:studio | Open Prisma Studio to browse/edit data |
npm run lint | ESLint |