5567c71298857d133300493cec4f975eac73accd
WonderQ MiniAPP
Mobile H5, admin, and API workspace for the WonderQ MiniAPP project.
Scripts
npm run devstarts the H5 Vite app.npm run dev:adminstarts the admin app.npm run dev:apistarts the API service.npm run build:allbuilds all workspaces.
后端内容发布
商品数据的正式源文件是 src/generated-products.json。后端部署时请从仓库根目录执行内容发布流程,不要把商品数据重新打进 H5:
npm run db:content:release -- validate
npm run db:content:release -- plan
npm run db:content:release -- apply
apply 会把商品、首页配置、活动和媒体引用写入生产数据库,并在 artifacts/ 生成可回滚快照。需要回滚时,使用发布命令输出的 rollback 命令。
Description
Languages
TypeScript
72.9%
CSS
23.4%
JavaScript
2.8%
Python
0.5%
Dockerfile
0.3%
Other
0.1%