How yunmengnb/jingpro-shop-reverse works
鲸pro is an authorized-shop reverse proxy with a storefront UI and Node.js API. A customer browses products, checks prices and channels, creates an order, views a payment QR code, and queries payment or order details. CAPTCHA-based authorization supports historical order lookup. The excerpts show server routing, API actions, upstream requests, and payment-browser behavior; frontend API wiring and some documented UI features were not sampled, so those links are left unverified.
Main entry points: api.js API Dispatcher · server.js HTTP Server · app.js Storefront UI · payment-browser.js Payment QR
Components 15
Storefront
- Storefront UI
public/assets/js/app.js - Storefront Page
public/index.html
HTTP Runtime
- HTTP Server
src/server.js - Shop Config
src/config.js - API Dispatcher
src/api.js
Shop Workflows
- Catalog Browse
src/api.js - Price And Order
src/api.js - Payment QR
src/payment-browser.js - Order Lookup
src/api.js - CAPTCHA Authorization
src/api.js - Temporary Sessions
src/api.js
External Services
- Upstream Client
src/upstream.js - Authorized Shop API
- Payment Provider
Other components
- Customer
Connections 16
- Customer → Storefront UI: uses
README.md - Storefront UI → Storefront Page: renders
- HTTP Server → Shop Config: loads config
src/server.js - HTTP Server → API Dispatcher: routes actions
src/server.js - HTTP Server → Storefront UI: serves assets
src/server.js - API Dispatcher → Catalog Browse: dispatches
src/api.js - API Dispatcher → Price And Order: dispatches
src/api.js - API Dispatcher → Payment QR: resolves payment
src/api.js - API Dispatcher → Order Lookup: dispatches
src/api.js - API Dispatcher → CAPTCHA Authorization: dispatches
src/api.js - API Dispatcher → Temporary Sessions: stores sessions
src/api.js - API Dispatcher → Upstream Client: requests upstream
src/api.js - Payment QR → Upstream Client: validates URLs
src/payment-browser.js - Upstream Client → Authorized Shop API: sends requests
src/upstream.js - Payment QR → Payment Provider: opens payment page
src/payment-browser.js - Storefront UI → HTTP Server: calls API