デモECサイトと管理画面で商品販売と注文管理を行う
Translation pending
AI summary · README
CommerceJavaScript · CSSGitHub @nguekwangOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Loading the full README. The saved excerpt is shown below.
デモECサイト + 基幹システム(管理画面)。Vercel でホスティング。 • 会員登録 / ログイン / ログアウト / マイページ(注文履歴) • 商品一覧・詳細・カート・チェックアウト(ログイン必須、在庫チェックあり) • 管理画面: ダッシュボード(売上KPI・14日推移・在庫僅少・売れ筋)、受注管理(ステータス変更、キャンセル時は在庫戻し)、商品・在庫管理(追加・編集・非公開)、顧客一覧 • 決済は行いません(支払方法の選択のみ)。 • データはコレクション単位のJSONをBlobに保存する簡易構成です。小規模なデモ用途向けで、大量アクセスには向きません。Read the full README ↗
デモECサイト + 基幹システム(管理画面)。Vercel でホスティング。
main へのpushで自動デプロイpublic/ ストア(index.html, app.js)と管理画面(admin.html, admin.js)
api/ Vercel Functions(Node)
auth/ register / login / logout / me
products/ 商品一覧・CRUD(管理者)
orders/ 注文作成(在庫引当)・一覧・ステータス更新(管理者)
admin/ stats(ダッシュボード), users(顧客一覧)
lib/db.js Vercel Blob(private)上のJSONコレクション。ETagで楽観ロック
lib/auth.js scryptパスワードハッシュ + HMAC署名のセッションCookie
scripts/ ローカル開発サーバとAPIスモークテスト
| 変数 | 用途 |
|---|---|
BLOB_READ_WRITE_TOKEN | Blobストア(自動設定) |
SESSION_SECRET | セッションCookieの署名鍵 |
ADMIN_EMAIL / ADMIN_PASSWORD | 初回起動時に作成される管理者アカウント |
npm install
[email protected] ADMIN_PASSWORD=admin1234 npm run dev # http://localhost:3000(データは .data/ に保存)
npm test # 別ターミナルでAPIスモークテスト