Phase 3 backend console · Keep admin token privateAdmin preview

Phase 3 backend console

Use this page after deploying to Cloudflare Pages and connecting the D1 database binding. Enter your private admin token only on your own computer.

Admin API token

Set the same value in Cloudflare as ADMIN_API_TOKEN. This page stores it only in your browser localStorage.

Products

Catalogue from D1

SKUNameBrandPriceStockStatus
Load products after API setup.
Orders

Recent orders

OrderCustomerPhoneTotalStatusCreated
Orders will appear here after checkout submits to D1.

Create product through API

Simple product creation for testing. Phase 4 can turn this into a full image/product management dashboard.